Breaking the Substitution Cipher: Coding an Automatic Cipher Solver
ISEF · 2021 Systems Software
Overview
Despite the advancements in cryptography, breaking ciphers by hand remains a tedious and demanding work. The goal of this research was to write a computer program which would facilitate breaking the monoalphabetic substitution cipher. Prior to this research such programs were inefficient at solving Slovene ciphertexts due to few speakers and unique language features. The problem was approached by using two different methods. Firstly, the ciphertext was analyzed in order to obtain valuable information, such as character pair frequency, relative frequency between characters, etc. .Secondly, a brute-force attack was designed which suggested how characters are most likely encrypted in a ciphertext. The brute-force attack was able to decipher 200-character ciphertexts with an accuracy of 82%. Around 500 characters were needed for the attack based on statistical analysis to reach the same precision. This was likely due to statistical deviations in short ciphertexts. This research showed that the brute-force attack is better at breaking the substitution cipher than pure statistical analysis. Further improvements to the attack should be possible but would require additional research.
Awards (1)
- Innopolis University : Full tuition scholarships for the Bachelor program in Computer Science
Competition history
- ISEF 2021
Resources
Related projects
ISEF · 2018
Using Machine Learning to Optimize Key-Length Prediction for Polyalphabetically Encrypted Text
ISEF · 2014
Winning the War against Hackers: A Hybrid Asymmetric Cryptographic Algorithm for Safe and Secure Data
ISEF · 2020
Under What Circumstance Can the Enigma Cipher Machine Be Decrypted?
ISEF · 2019
The Encryption and Decryption of Messages with an Intelligent Chatbot through the Usage of Polygraphs
Closest projects by meaning, across every fair and year in the corpus.
Source: Regeneron International Science and Engineering Fair