4 ms·
https://en.wikipedia.org/wiki/CipherSaber https://en.wikipedia.org/wiki/CipherSaber This is the best relic from the past war. We may need a new one soon...
by yarper 12y ago
https://en.wikipedia.org/wiki/CipherSaber https://en.wikipedia.org/wiki/CipherSaber
This is the best relic from the past war. We may need a new one soon...
- juliangoldsmith 12y agoAre current ciphers even simple enough for something like that? RC4 is pretty trivial to implement, but I think of AES as being pretty complex.
- ryan-c 12y agoPart of the point of CipherSaber was that not only is RC4 trivial to implement, but it is feasible to do so entirely from memory. I can't think of any other cipher that comes close to that except for maybe XXTEA (and it's progenitors, TEA and XTEA). RC4 is so trivial that several people (including myself) were able to write implementations that fit in a single tweet.
- api 12y agoSalsa20 / ChaCha is pretty simple. Curve25519 is not exactly simple but it's pretty small -- small enough to put on a shirt.
- rsync 12y agoAll you need is a hashing algorithm (something like md5, but not md5, of course). If you can memorize a hashing algorithm, then you can use the hash to verify larger pieces of software that you can't memorize. So large, complex crypto doesn't ever need to be memorized - all you need is an easy to memorize hashing algorithm.
- ryan-c 12y agoI wonder how a variant of XXTEA (perhaps with more rounds) would fare as a replacement. It's only a little more complicated to implement than RC4, but solves some of the issues. It acts as a wide block cipher which reduces the impact of not having authentication or IVs.