3 ms·
The Chaocipher revealed
- carver 16y agoPretty cool! I was curious about this, so I built a 50-line Python version to confirm my understanding. Feel free to check it out and use it (LGPL): http://bitbucket.org/carver/chaocipher/src/tip/chaocipher.py http://bitbucket.org/carver/chaocipher/src/tip/chaocipher.py It could use things like a configurable key and interactive enciphering command line, and I would be happy to pull such changes. Edit updated link with improved comments about the rotation part of the cipher
- mavxg 16y agoCracked it http://github.com/mavxg/chaocipher/blob/master/chaocipher.hs http://github.com/mavxg/chaocipher/blob/master/chaocipher.hs
- Groxx 16y ago(have not run, but from the description) : Impressive work :) If you manage to get plaintext from just cyphertext, be sure to spread it around; I'd imagine a lot of people would be interested in it.
- mavxg 16y agoIt doesn't quite do that yet. Given a section of known plaintext of about 50 characters it can find the original key used (or at least enough of the key to then turn the problem into a mono-alphabetic cipher).