//http://kinghajj.ath.cx/rc4-nl.tar.bz2
; example usage
(rc4-encrypt (rc4-encrypt "Hello!" "World"))
; => "Hello!"
RC4 is much better than a one-time pad for practical applications.
I would have implemented this is a primitive, builtin function, but the documentation doesn't cover that. It'd be much easier to do that then to depend on a library whose name is different on different platforms.
Good stuff.
I think this would be good primitive!
Look also into the crypto.lsp module at http://newlisp.org/code/modules/ . There you can find SHA1, MD5 and HMAC encryption.
Lutz
Those are hash functions, not encryption algorithms, but they are still useful.