XXTEA test vectors

XXTEA (Corrected Block Tiny Encryption Algorithm) is a variable length symmetric block cipher, published in the paper “Correction to xtea” (Wheeler & Needham, 1998). The algorithm can be implemented in under 20 lines of C code, and runs efficiently on most platforms.

rnrn

Several implementations of XXTEA exist in a variety of languages, but implementation errors and lack of clarity in the specification mean that some implementations are incompatible. In an effort to correct this problem I have worked from the reference implementation and common assumptions of other implementations to construct a set of test vectors.

rnrn Continue reading