> How about using TEA (Tiny Encryption Algorithm), XTEA or XXTEA then? > They are quite simple algorithms, easy to implement and resonably fast > (with TEA being the simplest, but also weakest). > A hell of a lot better than just a simple XOR or ADD and probably more > than sufficient for this purpose. > > http://en.wikipedia.org/wiki/Tiny_Encryption_Algorithm > http://www.simonshepherd.supanet.com/tea.htm > http://www.ftp.cl.cam.ac.uk/ftp/papers/djw-rmn/djw-rmn-tea.html Cool. I'll add this. It's not even worth using the crypto framework, since setting it up would be more code than including the algorithm inline. Thanks, Miklos - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html