News for hackers. Stuff that matters.
Re:The Chaocipher revealed by carver on Sunday July 04, 2010 @01:19PM (#1485969)
Pretty 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

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

Re:The Chaocipher revealed by Groxx on Sunday July 04, 2010 @01:47PM (#1486014)
Your code serves as a much better explanation than the linked paper in the article. And that Perl code o_O
Re:The Chaocipher revealed by carver on Sunday July 04, 2010 @02:29PM (#1486098)
Thanks! The paper was maybe a bit pedantic, but I appreciated his checkpoints and test cases. The perl was way overkill, though.
Re:The Chaocipher revealed by eru on Sunday July 04, 2010 @06:16PM (#1486530)
Why did you use state?
Re:The Chaocipher revealed by mavxg on Monday July 05, 2010 @09:40AM (#1488172)
Re:The Chaocipher revealed by Groxx on Monday July 05, 2010 @09:36PM (#1489691)
(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.

Re:The Chaocipher revealed by mavxg on Tuesday July 06, 2010 @02:05AM (#1490127)
It 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).