While implementing ciphers and hash functions, I often face a problem: where to find test vectors for it; so that I can guarantee my program is working correctly. It is generally a tedious job to find test cases.
Currently I am trying to gather test vectors for several ciphers and hash functions; including (but not limited to): RC4, all ciphers from eStream, DES (round-wise, if possible), 3DES, AES, …
To avoid looking in the wrong places: Where can I find test vectors for ciphers?
For a head-start, I put test cases of RC4
(correct me if I am wrong):
Key (255, 255, 0, 255)
Keystream 23, 0, 135, 229, 197, 74, 253, 202, 72, 83, ...
Key (0, 0, 0, 255, 127, 31)
Keystream 40, 172, 142, 137, 101, 124, 164, 50, 0, 172, ...
Related: