Thank you very much for your detailed answer. I took your second suggestion on the aligning and that solved the problem. I found that there are different implementations of xxtea and unfortunately my PC and Palm version are incompatible when I looked closer to the source.
I'm now using AESLib which works very well and fast enough for me. AES (Rijndael) doesn't depend on the endianess and AESLib saved me much time. Ben http://groups.google.de/groups?selm=3D34EE99.6C57B69E%40zetnet.co.uk&output=gplain Hash Byte order Bit order ----------------------------------------- HAVAL little little MD2 neutral - MD4 little big MD5 little big Panama little little RIPEMD-128/160 little little SHA-0/1 big big SHA-256/284/512 big big Snefru-1/2 big - Tiger [1] little little Whirlpool big big Cipher Byte order Bit order ----------------------------------------- 3-Way big - Blowfish big - CAST-128 big - DES, 3DES neutral big IDEA big - MARS little - RC4 neutral - RC5 little - RC6 little - Rijndael/AES neutral big Serpent little little SKIPJACK [2] big - Twofish little - -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
