For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | more carver's commentsregister

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


Your code serves as a much better explanation than the linked paper in the article. And that Perl code o_O


Thanks! The paper was maybe a bit pedantic, but I appreciated his checkpoints and test cases. The perl was way overkill, though.


Why did you use state?


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You