Documentation
# RC4 40-bit key Test Vectors from RFC 6229

# key 1
Count = 0
Key = 0102030405
Offset = 0
Repeat = 1
Plaintext = 00000000000000000000000000000000
Ciphertext = b2396305f03dc027ccc3524a0a1118a8

Count = 1
Key = 0102030405
Offset = 16
Repeat = 2
Plaintext = 00000000000000000000000000000000
Ciphertext = 6982944f18fc82d589c403a47a0d0919

Count = 2
Key = 0102030405
Offset = 240
Repeat = 16
Plaintext = 00000000000000000000000000000000
Ciphertext = 28cb1132c96ce286421dcaadb8b69eae

Count = 3
Key = 0102030405
Offset = 256
Repeat = 17
Plaintext = 00000000000000000000000000000000
Ciphertext = 1cfcf62b03eddb641d77dfcf7f8d8c93

Count = 4
Key = 0102030405
Offset = 496
Repeat = 32
Plaintext = 00000000000000000000000000000000
Ciphertext = 42b7d0cdd918a8a33dd51781c81f4041

Count = 5
Key = 0102030405
Offset = 512
Repeat = 33
Plaintext = 00000000000000000000000000000000
Ciphertext = 6459844432a7da923cfb3eb4980661f6

Count = 6
Key = 0102030405
Offset = 752
Repeat = 48
Plaintext = 00000000000000000000000000000000
Ciphertext = ec10327bde2beefd18f9277680457e22

Count = 7
Key = 0102030405
Offset = 768
Repeat = 49
Plaintext = 00000000000000000000000000000000
Ciphertext = eb62638d4f0ba1fe9fca20e05bf8ff2b

Count = 8
Key = 0102030405
Offset = 1008
Repeat = 64
Plaintext = 00000000000000000000000000000000
Ciphertext = 45129048e6a0ed0b56b490338f078da5

Count = 9
Key = 0102030405
Offset = 1024
Repeat = 65
Plaintext = 00000000000000000000000000000000
Ciphertext = 30abbcc7c20b01609f23ee2d5f6bb7df

Count = 10
Key = 0102030405
Offset = 1520
Repeat = 96
Plaintext = 00000000000000000000000000000000
Ciphertext = 3294f744d8f9790507e70f62e5bbceea

Count = 11
Key = 0102030405
Offset = 1536
Repeat = 97
Plaintext = 00000000000000000000000000000000
Ciphertext = d8729db41882259bee4f825325f5a130

Count = 12
Key = 0102030405
Offset = 2032
Repeat = 128
Plaintext = 00000000000000000000000000000000
Ciphertext = 1eb14a0c13b3bf47fa2a0ba93ad45b8b

Count = 13
Key = 0102030405
Offset = 2048
Repeat = 129
Plaintext = 00000000000000000000000000000000
Ciphertext = cc582f8ba9f265e2b1be9112e975d2d7

Count = 14
Key = 0102030405
Offset = 3056
Repeat = 192
Plaintext = 00000000000000000000000000000000
Ciphertext = f2e30f9bd102ecbf75aaade9bc35c43c

Count = 15
Key = 0102030405
Offset = 3072
Repeat = 193
Plaintext = 00000000000000000000000000000000
Ciphertext = ec0e11c479dc329dc8da7968fe965681

Count = 16
Key = 0102030405
Offset = 4080
Repeat = 256
Plaintext = 00000000000000000000000000000000
Ciphertext = 068326a2118416d21f9d04b2cd1ca050

Count = 17
Key = 0102030405
Offset = 4096
Repeat = 257
Plaintext = 00000000000000000000000000000000
Ciphertext = ff25b58995996707e51fbdf08b34d875

# key 2
Count = 18
Key = 833222772a
Offset = 0
Repeat = 1
Plaintext = 00000000000000000000000000000000
Ciphertext = 80ad97bdc973df8a2e879e92a497efda

Count = 19
Key = 833222772a
Offset = 16
Repeat = 2
Plaintext = 00000000000000000000000000000000
Ciphertext = 20f060c2f2e5126501d3d4fea10d5fc0

Count = 20
Key = 833222772a
Offset = 240
Repeat = 16
Plaintext = 00000000000000000000000000000000
Ciphertext = faa148e99046181fec6b2085f3b20ed9

Count = 21
Key = 833222772a
Offset = 256
Repeat = 17
Plaintext = 00000000000000000000000000000000
Ciphertext = f0daf5bab3d596839857846f73fbfe5a

Count = 22
Key = 833222772a
Offset = 496
Repeat = 32
Plaintext = 00000000000000000000000000000000
Ciphertext = 1c7e2fc4639232fe297584b296996bc8

Count = 23
Key = 833222772a
Offset = 512
Repeat = 33
Plaintext = 00000000000000000000000000000000
Ciphertext = 3db9b249406cc8edffac55ccd322ba12

Count = 24
Key = 833222772a
Offset = 752
Repeat = 48
Plaintext = 00000000000000000000000000000000
Ciphertext = e4f9f7e0066154bbd125b745569bc897

Count = 25
Key = 833222772a
Offset = 768
Repeat = 49
Plaintext = 00000000000000000000000000000000
Ciphertext = 75d5ef262b44c41a9cf63ae14568e1b9

Count = 26
Key = 833222772a
Offset = 1008
Repeat = 64
Plaintext = 00000000000000000000000000000000
Ciphertext = 6da453dbf81e82334a3d8866cb50a1e3

Count = 27
Key = 833222772a
Offset = 1024
Repeat = 65
Plaintext = 00000000000000000000000000000000
Ciphertext = 7828d074119cab5c22b294d7a9bfa0bb

Count = 28
Key = 833222772a
Offset = 1520
Repeat = 96
Plaintext = 00000000000000000000000000000000
Ciphertext = adb89cea9a15fbe617295bd04b8ca05c

Count = 29
Key = 833222772a
Offset = 1536
Repeat = 97
Plaintext = 00000000000000000000000000000000
Ciphertext = 6251d87fd4aaae9a7e4ad5c217d3f300

Count = 30
Key = 833222772a
Offset = 2032
Repeat = 128
Plaintext = 00000000000000000000000000000000
Ciphertext = e7119bd6dd9b22afe8f89585432881e2

Count = 31
Key = 833222772a
Offset = 2048
Repeat = 129
Plaintext = 00000000000000000000000000000000
Ciphertext = 785b60fd7ec4e9fcb6545f350d660fab

Count = 32
Key = 833222772a
Offset = 3056
Repeat = 192
Plaintext = 00000000000000000000000000000000
Ciphertext = afecc037fdb7b0838eb3d70bcd268382

Count = 33
Key = 833222772a
Offset = 3072
Repeat = 193
Plaintext = 00000000000000000000000000000000
Ciphertext = dbc1a7b49d57358cc9fa6d61d73b7cf0

Count = 34
Key = 833222772a
Offset = 4080
Repeat = 256
Plaintext = 00000000000000000000000000000000
Ciphertext = 6349d126a37afcba89794f9804914fdc

Count = 35
Key = 833222772a
Offset = 4096
Repeat = 257
Plaintext = 00000000000000000000000000000000
Ciphertext = bf42c3018c2f7c66bfde524975768115