XTEA test vectors
From Free media library
{{#switch: |Category = Pages in this category have | This page has }} been marked for eventual deletion.
{{#switch: |Category= They have
| It has}} been identified as reference material per the exclusion guidelines, which the community has decided to exclude from Wikisource (see "Inclusion of reference data on Wikisource"). These works will be phased out gradually; if you have found this page by following a link from another page, please go back and remove that link.{{#switch::XTEA test vectors
|Category:Deletion requests/Reference data = |Wikisource:Scriptorium = |
}}
Unofficial Test vectors for the XTEA block cipher (with full 32 rounds). The keys, plaintext and ciphertext are in hexadecimal.
| Key | Plaintext | Ciphertext |
|---|---|---|
000102030405060708090a0b0c0d0e0f | 4142434445464748 | 497df3d072612cb5 |
000102030405060708090a0b0c0d0e0f | 4141414141414141 | e78f2d13744341d8 |
000102030405060708090a0b0c0d0e0f | 5a5b6e278948d77f | 4141414141414141 |
00000000000000000000000000000000 | 4142434445464748 | a0390589f8b8efa5 |
00000000000000000000000000000000 | 4141414141414141 | ed23375a821a8c2d |
00000000000000000000000000000000 | 70e1225d6e4e7655 | 4141414141414141 |
The list was generated using the mcrypt library (libmcrypt). Also note that in their implementation everything is in big endian order (keys, plaintext and ciphertext).