################################################################################ # # IETF RFC6229 : Test Vectors for the Stream Cipher RC4 # ################################################################################ ################################################################################ # # ARC4 Crypt test # # p0 : key # p2 : src # p3 : dst ################################################################################ RFC6229 Test Vector with 40-bit key arc4_crypt 0102030405 0000000000000000000000000000000000000000000000000000000000000000 b2396305f03dc027ccc3524a0a1118a86982944f18fc82d589c403a47a0d0919 RFC6229 Test Vector with 56-bit key arc4_crypt 01020304050607 0000000000000000000000000000000000000000000000000000000000000000 293f02d47f37c9b633f2af5285feb46be620f1390d19bd84e2e0fd752031afc1 RFC6229 Test Vector with 64-bit key arc4_crypt 0102030405060708 0000000000000000000000000000000000000000000000000000000000000000 97ab8a1bf0afb96132f2f67258da15a88263efdb45c4a18684ef87e6b19e5b09 RFC6229 Test Vector with 80-bit key arc4_crypt 0102030405060708090a 0000000000000000000000000000000000000000000000000000000000000000 ede3b04643e586cc907dc2185170990203516ba78f413beb223aa5d4d2df6711 RFC6229 Test Vector with 128-bit key arc4_crypt 0102030405060708090a0b0c0d0e0f10 0000000000000000000000000000000000000000000000000000000000000000 9ac7cc9a609d1ef7b2932899cde41b975248c4959014126a6e8a84f11d1a9e1c