Publication Date
Spring 2023
Degree Type
Master's Project
Degree Name
Master of Science (MS)
Department
Computer Science
First Advisor
Mark Stamp
Second Advisor
Fabio Di Troia
Third Advisor
Genya Ishigaki
Keywords
Enigma, Sigaba, Purple, Typex, Machine Learning, World War 2, cryptography
Abstract
We examine whether machine learning and deep learning techniques can classify World War II era ciphers when only ciphertext is provided. Among the ciphers considered are Enigma, M-209, Sigaba, Purple, and Typex. For our machine learning models, we test a variety of features including the raw ciphertext letter sequence, histograms, and n-grams. The classification is approached in two scenarios. The first scenario considers fixed plaintext encrypted with fixed keys and the second scenario considers random plaintext encrypted with fixed keys. The results show that histograms are the best feature and classic machine learning methods are more appropriate for this kind of categorization.
Recommended Citation
Dalton, Brooke, "Classifying World War II Era Ciphers with Machine Learning" (2023). Master's Projects. 1272.
DOI: https://doi.org/10.31979/etd.q29r-kkb6
https://scholarworks.sjsu.edu/etd_projects/1272