1 of 12

CodeBusters

North Carolina Science Olympiad

Coaches Clinic

2018

2 of 12

CodeBusters

  • Rule summary
  • Review of code types
    • Additional details on new code types
  • Coaching for success
  • Test generation tools
    • Demo
  • Questions

3 of 12

CodeBusters - Rule Summary (but see official rules!)

Description:

  • Teams will cryptanalyze (decode) encrypted messages using cryptanalysis techniques and show skill with advanced ciphers by encrypting or decrypting a message.
  • Team of up to 3 students

What to bring:

  • Writing utensils with erasers
  • Up to three “simple” calculators: +, -, ×, ÷ (Not a scientific one!)
  • Everything else will be provided, including scrap paper.

4 of 12

CodeBusters - Regional Code Types

  • Atbash -- New this year [1]
    • The alphabet is mapped to the reverse (A ↔ Z; B ↔ Y; … M ↔ N)
  • Caesar cipher (shift cipher) [2]
  • Mono-alphabetic substitution
    • Random alphabet
    • K1
    • K2 -- New this year
      • Like K1 -- keyword goes in the replacement
      • Frequency counts encrypted letters in the K2.
      • Decoding has an additional level of indirection. K2 letter is used to find the replacement letter that maps to the decoded letter (in the K2).
      • (Contrast with a K1, where decoding is done directly by mapping the K1 letter to the replacement letter.)

5 of 12

CodeBusters - Regional Code Types

  • Mono-alphabetic substitution - problem classes
    • Aristocrat - contains spaces between words; may or may not have a hint. [3, 4]
    • Aristocrat - contains spaces between words, but could have spelling and/or grammer[sic] errors; may or may not have a hint. [5, 6]
    • Patristocrat - spaces between words are removed (historically represented in blocks of 5 letters); may or may not have a hint. [7, 8]
  • Affine cipher (encryption only) [9]
  • Vigenère Cipher (encryption/decryption only) [10]
  • Baconian cipher [11]
  • Xenocrypt - no more than one cryptogram can be in Spanish [12] (Expect one!)
  • Mathematical cryptanalysis of the Hill Cipher [13]

6 of 12

CodeBusters - State and National Code Types

  • All regional code types
    • Note: Regional tests are intended to be easier than the state test.
  • Running key cipher [14]
  • Cryptanalysis of Viginère cipher [15]
  • RSA cipher [16, 17]
  • Hill cipher [18, 19]
  • Xenocrypt - at least one cryptogram will be in Spanish [12]
  • Mathematical cryptanalysis of the Affine cipher [20] NEW

7 of 12

CodeBusters - K1 vs. K2 in Mono-alphabetic Substitution

  • Example: Message: Hello world Keyword/offset: keyword/0

8 of 12

CodeBusters - RSA Tips

  • RSA (state only) - New this year

9 of 12

CodeBusters - Coaching for Success

  • Practice, practice, practice.
  • Put three students on the team.
  • Use a pencil.
  • Divide and conquer ... Remove the staple, split the test up with team.
  • Get really comfortable with “mod 26” and your calculator.
  • Take advantage of the “up to two wrong is ok” rule.
  • What works best for the team?
    • spend time on one 500 point question or five 100 point questions?
  • Practice, practice, practice...

10 of 12

CodeBusters - Test Generation Tools

11 of 12

CodeBusters - Questions?

Follow us on twitter:

12 of 12

CodeBusters - Additional Resources

  • National event page
  • NCSO event page
  • Clinic binder document
  • Your favorite search engine