-
A C++ program that applies several tests against a book ciphertext to mathematically calculate their “randomness,” with the primary purpose to determine the validity of the Beale Ciphers.
-
The user can input examples of real and fake ciphertexts, and then compare the “signatures” each test provides against the signatures produced by the three Beale ciphertexts.
-
The algorithms include:
- The Komlmogorov-Smirnov test
- Chi-square test
- Serial Correlation test
- Mod Reduction Test
- Average Difference Test
- Run Up Test
- Run Down Test
- Last Digit Frequency Test
- All Digit Frequency Test
- Basic Stats Provider (Mean, Median, Number of Characters ect.)
- The majority of the algorithms were found in the Art of Computer Programming Volume 2 by Donald Knuth.
-
Also included under /CTGen is a small program that encrypting a message to produce a book ciphertext by randomly selecting the locations of letters in the provided key document, and removing the potential for that key location to be used again.
- Homework 4: Chapter 3 Computer Problems 1.1, 1.2, 2.2, 4 and 8
- Homework 6: Chapter 3 Computer Problems 6, 7, 12, and 13
- Homework 8: Miller Robin Primality test on 4 provided canidates
-
7849320745092875923486518746897436504752587
-
22439979015817429464453212582447889544084770603331770046950768541515493
-
67896375048456578490852086705286724507634897563894658714169752875923486518746897436504752807
-
7083387173976100946763005874138341859212076191416918191389884735307723848374461229436834907695854745003486953411841280531221745747218536839402506751247715594253113
-
- Homework 9: P-1 and Pollard Rho tests