Lightweight Encryption for Java/J2ME

I’ve got a few useful nuggets of code lying around that I’ve been meaning to open-source for quite a while. One of them is a Java/J2ME implementation of David Wheeler and Roger Needham‘s Tiny Encryption Algorithm. Today I tidied it up and stuck it online. It’s handy if you want a robust cipher in less than 2k of bytecode. You can snag it here.