6 ms·
Hey, I'm the original author of the repo -- I noticed a bunch of stars coming in and figured it was coming from Hacker News, heh. I should probably go and make
by Pewqazz 3y ago
Hey, I'm the original author of the repo -- I noticed a bunch of stars coming in and figured it was coming from Hacker News, heh.
I should probably go and make it clearer in the README, but you're right, by no means is it a full Enigma implementation. It mostly started as a translation of code described in [this post](http://practicalcryptography.com/ciphers/mechanical-era/enigma/ http://practicalcryptography.com/ciphers/mechanical-era/enig...) from C to Rust (since I was a naïve undergrad interested in Rust).
At some point it would be cool to add the full Enigma functionality. Do you have any guidance for test cases and/or reference implementations?
- willvarfar 3y agomy own machine with rotors and some proper test vectors https://gist.github.com/williame/94beef4b9afea659864950c29d402b90 https://gist.github.com/williame/94beef4b9afea659864950c29d4... I also had a fast version in c++ that could trivially brute force messages with an index of coincidence kind of attack, but can't find that code after a quick search of github :(
- 65a 3y agoI used many of these as test cases: http://wiki.franklinheath.co.uk/index.php/Enigma/Sample_Messages http://wiki.franklinheath.co.uk/index.php/Enigma/Sample_Mess...