rc4-128.txt at [d00f5eca5d]

File tests/test_vectors/Symetric_Stream/rc4-128.txt artifact 22cf874976 part of check-in d00f5eca5d


# RC4 128-bit key Test Vectors from RFC 6229

# key 1
Count = 0
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 0
Repeat = 1
Plaintext = 00000000000000000000000000000000
Ciphertext = 9ac7cc9a609d1ef7b2932899cde41b97

Count = 1
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 16
Repeat = 2
Plaintext = 00000000000000000000000000000000
Ciphertext = 5248c4959014126a6e8a84f11d1a9e1c

Count = 2
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 240
Repeat = 16
Plaintext = 00000000000000000000000000000000
Ciphertext = 065902e4b620f6cc36c8589f66432f2b

Count = 3
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 256
Repeat = 17
Plaintext = 00000000000000000000000000000000
Ciphertext = d39d566bc6bce3010768151549f3873f

Count = 4
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 496
Repeat = 32
Plaintext = 00000000000000000000000000000000
Ciphertext = b6d1e6c4a5e4771cad79538df295fb11

Count = 5
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 512
Repeat = 33
Plaintext = 00000000000000000000000000000000
Ciphertext = c68c1d5c559a974123df1dbc52a43b89

Count = 6
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 752
Repeat = 48
Plaintext = 00000000000000000000000000000000
Ciphertext = c5ecf88de897fd57fed301701b82a259

Count = 7
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 768
Repeat = 49
Plaintext = 00000000000000000000000000000000
Ciphertext = eccbe13de1fcc91c11a0b26c0bc8fa4d

Count = 8
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 1008
Repeat = 64
Plaintext = 00000000000000000000000000000000
Ciphertext = e7a72574f8782ae26aabcf9ebcd66065

Count = 9
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 1024
Repeat = 65
Plaintext = 00000000000000000000000000000000
Ciphertext = bdf0324e6083dcc6d3cedd3ca8c53c16

Count = 10
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 1520
Repeat = 96
Plaintext = 00000000000000000000000000000000
Ciphertext = b40110c4190b5622a96116b0017ed297

Count = 11
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 1536
Repeat = 97
Plaintext = 00000000000000000000000000000000
Ciphertext = ffa0b514647ec04f6306b892ae661181

Count = 12
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 2032
Repeat = 128
Plaintext = 00000000000000000000000000000000
Ciphertext = d03d1bc03cd33d70dff9fa5d71963ebd

Count = 13
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 2048
Repeat = 129
Plaintext = 00000000000000000000000000000000
Ciphertext = 8a44126411eaa78bd51e8d87a8879bf5

Count = 14
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 3056
Repeat = 192
Plaintext = 00000000000000000000000000000000
Ciphertext = fabeb76028ade2d0e48722e46c4615a3

Count = 15
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 3072
Repeat = 193
Plaintext = 00000000000000000000000000000000
Ciphertext = c05d88abd50357f935a63c59ee537623

Count = 16
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 4080
Repeat = 256
Plaintext = 00000000000000000000000000000000
Ciphertext = ff38265c1642c1abe8d3c2fe5e572bf8

Count = 17
Key = 0102030405060708090a0b0c0d0e0f10
Offset = 4096
Repeat = 257
Plaintext = 00000000000000000000000000000000
Ciphertext = a36a4c301ae8ac13610ccbc12256cacc

# key 2
Count = 18
Key = ebb46227c6cc8b37641910833222772a
Offset = 0
Repeat = 1
Plaintext = 00000000000000000000000000000000
Ciphertext = 720c94b63edf44e131d950ca211a5a30

Count = 19
Key = ebb46227c6cc8b37641910833222772a
Offset = 16
Repeat = 2
Plaintext = 00000000000000000000000000000000
Ciphertext = c366fdeacf9ca80436be7c358424d20b

Count = 20
Key = ebb46227c6cc8b37641910833222772a
Offset = 240
Repeat = 16
Plaintext = 00000000000000000000000000000000
Ciphertext = b3394a40aabf75cba42282ef25a0059f

Count = 21
Key = ebb46227c6cc8b37641910833222772a
Offset = 256
Repeat = 17
Plaintext = 00000000000000000000000000000000
Ciphertext = 4847d81da4942dbc249defc48c922b9f

Count = 22
Key = ebb46227c6cc8b37641910833222772a
Offset = 496
Repeat = 32
Plaintext = 00000000000000000000000000000000
Ciphertext = 08128c469f275342adda202b2b58da95

Count = 23
Key = ebb46227c6cc8b37641910833222772a
Offset = 512
Repeat = 33
Plaintext = 00000000000000000000000000000000
Ciphertext = 970dacef40ad98723bac5d6955b81761

Count = 24
Key = ebb46227c6cc8b37641910833222772a
Offset = 752
Repeat = 48
Plaintext = 00000000000000000000000000000000
Ciphertext = 3cb89993b07b0ced93de13d2a11013ac

Count = 25
Key = ebb46227c6cc8b37641910833222772a
Offset = 768
Repeat = 49
Plaintext = 00000000000000000000000000000000
Ciphertext = ef2d676f1545c2c13dc680a02f4adbfe

Count = 26
Key = ebb46227c6cc8b37641910833222772a
Offset = 1008
Repeat = 64
Plaintext = 00000000000000000000000000000000
Ciphertext = b60595514f24bc9fe522a6cad7393644

Count = 27
Key = ebb46227c6cc8b37641910833222772a
Offset = 1024
Repeat = 65
Plaintext = 00000000000000000000000000000000
Ciphertext = b515a8c5011754f59003058bdb81514e

Count = 28
Key = ebb46227c6cc8b37641910833222772a
Offset = 1520
Repeat = 96
Plaintext = 00000000000000000000000000000000
Ciphertext = 3c70047e8cbc038e3b9820db601da495

Count = 29
Key = ebb46227c6cc8b37641910833222772a
Offset = 1536
Repeat = 97
Plaintext = 00000000000000000000000000000000
Ciphertext = 1175da6ee756de46a53e2b075660b770

Count = 30
Key = ebb46227c6cc8b37641910833222772a
Offset = 2032
Repeat = 128
Plaintext = 00000000000000000000000000000000
Ciphertext = 00a542bba02111cc2c65b38ebdba587e

Count = 31
Key = ebb46227c6cc8b37641910833222772a
Offset = 2048
Repeat = 129
Plaintext = 00000000000000000000000000000000
Ciphertext = 5865fdbb5b48064104e830b380f2aede

Count = 32
Key = ebb46227c6cc8b37641910833222772a
Offset = 3056
Repeat = 192
Plaintext = 00000000000000000000000000000000
Ciphertext = 34b21ad2ad44e999db2d7f0863f0d9b6

Count = 33
Key = ebb46227c6cc8b37641910833222772a
Offset = 3072
Repeat = 193
Plaintext = 00000000000000000000000000000000
Ciphertext = 84a9218fc36e8a5f2ccfbeae53a27d25

Count = 34
Key = ebb46227c6cc8b37641910833222772a
Offset = 4080
Repeat = 256
Plaintext = 00000000000000000000000000000000
Ciphertext = a2221a11b833ccb498a59540f0545f4a

Count = 35
Key = ebb46227c6cc8b37641910833222772a
Offset = 4096
Repeat = 257
Plaintext = 00000000000000000000000000000000
Ciphertext = 5bbeb4787d59e5373fdbea6c6f75c29b