kolombet/as3crypto

XTea implementation is wrong

GoogleCodeExporter opened this issue · 0 comments

XTea implementation is wrong. Because it operates on uint types it should use 
">>>" operator for right shift (instead of ">>" which produce wrong results).

You can verify it with C code from wiki: http://en.wikipedia.org/wiki/XTEA

Original issue reported on code.google.com by radek.bulat@gmail.com on 12 Sep 2010 at 11:38