source: trunk/src-cryptopp/TestVectors/chacha.txt

Last change on this file was e230cb0, checked in by David Stainton <dstainton415@…>, at 2016-10-12T13:27:29Z

Add cryptopp from tag CRYPTOPP_5_6_5

  • Property mode set to 100644
File size: 5.3 KB
Line 
1AlgorithmType: SymmetricCipher
2Name: ChaCha8
3Source: http://tools.ietf.org/html/draft-strombergson-chacha-test-vectors
4Comment: TC1 - All zero key and IV (16-byte key).
5Key: r16 00
6IV: r8 00
7Plaintext: r64 00
8Ciphertext: e28a5fa4a67f8c5defed3e6fb7303486aa8427d31419a729572d777953491120b64ab8e72b8deb85cd6aea7cb6089a101824beeb08814a428aab1fa2c816081b
9Test: Encrypt
10Comment: TC1 - All zero key and IV (32-byte key).
11Key: r32 00
12IV: r8 00
13Plaintext: r64 00
14Ciphertext: 3e00ef2f895f40d67f5bb8e81f09a5a12c840ec3ce9a7f3b181be188ef711a1e984ce172b9216f419f445367456d5619314a42a3da86b001387bfdb80e0cfe42
15Test: Encrypt
16Comment: TC2 - Single bit in key set. All zero IV (16-byte key).
17Key: 0x01000000000000000000000000000000
18IV: r8 00
19Plaintext: r64 00
20Ciphertext: 03a7669888605a0765e8357475e58673f94fc8161da76c2a3aa2f3caf9fe5449e0fcf38eb882656af83d430d410927d55c972ac4c92ab9da3713e19f761eaa14
21Test: Encrypt
22Comment: TC2 - Single bit in key set. All zero IV (32-byte key).
23Key: 0x0100000000000000000000000000000000000000000000000000000000000000
24IV: r8 00
25Plaintext: r64 00
26Ciphertext: cf5ee9a0494aa9613e05d5ed725b804b12f4a465ee635acc3a311de8740489ea289d04f43c7518db56eb4433e498a1238cd8464d3763ddbb9222ee3bd8fae3c8
27Test: Encrypt
28Comment: TC3 - Single bit in IV set. All zero key (16-byte key).
29Key: r16 00
30IV: 0x0100000000000000
31Plaintext: r64 00
32Ciphertext: 25f5bec6683916ff44bccd12d102e692176663f4cac53e719509ca74b6b2eec85da4236fb29902012adc8f0d86c8187d25cd1c486966930d0204c4ee88a6ab35
33Test: Encrypt
34Comment: TC3 - Single bit in IV set. All zero key (32-byte key).
35Key: r32 00
36IV: 0x0100000000000000
37Plaintext: r64 00
38Ciphertext: 2b8f4bb3798306ca5130d47c4f8d4ed13aa0edccc1be6942090faeeca0d7599b7ff0fe616bb25aa0153ad6fdc88b954903c22426d478b97b22b8f9b1db00cf06
39Test: Encrypt
40
41AlgorithmType: SymmetricCipher
42Name: ChaCha12
43Source: http://tools.ietf.org/html/draft-strombergson-chacha-test-vectors
44Comment: TC1 - All zero key and IV (16-byte key).
45Key: r16 00
46IV: r8 00
47Plaintext: r64 00
48Ciphertext: e1047ba9476bf8ff312c01b4345a7d8ca5792b0ad467313f1dc412b5fdce32410dea8b68bd774c36a920f092a04d3f95274fbeff97bc8491fcef37f85970b450
49Test: Encrypt
50Comment: TC1 - All zero key and IV (32-byte key).
51Key: r32 00
52IV: r8 00
53Plaintext: r64 00
54Ciphertext: 9bf49a6a0755f953811fce125f2683d50429c3bb49e074147e0089a52eae155f0564f879d27ae3c02ce82834acfa8c793a629f2ca0de6919610be82f411326be
55Test: Encrypt
56Comment: TC2 - Single bit in key set. All zero IV (16-byte key).
57Key: 0x01000000000000000000000000000000
58IV: r8 00
59Plaintext: r64 00
60Ciphertext: 2a865a3b8999fa83ae8aacf33fc6be4f32c8aa9762738d26963270052f4eef8b86af758f7867560af6d0eeb973b5542bb24c8abceac8b1f36d026963d6c8a9b2
61Test: Encrypt
62Comment: TC2 - Single bit in key set. All zero IV (32-byte key).
63Key: 0x0100000000000000000000000000000000000000000000000000000000000000
64IV: r8 00
65Plaintext: r64 00
66Ciphertext: 12056e595d56b0f6eef090f0cd25a20949248c2790525d0f930218ff0b4ddd10a6002239d9a454e29e107a7d06fefdfef0210feba044f9f29b1772c960dc29c0
67Test: Encrypt
68Comment: TC3 - Single bit in IV set. All zero key (16-byte key).
69Key: r16 00
70IV: 0x0100000000000000
71Plaintext: r64 00
72Ciphertext: 91cdb2f180bc89cfe86b8b6871cd6b3af61abf6eba01635db619c40a0b2e19edfa8ce5a9bd7f53cc2c9bcfea181e9754a9e245731f658cc282c2ae1cab1ae02c
73Test: Encrypt
74Comment: TC3 - Single bit in IV set. All zero key (32-byte key).
75Key: r32 00
76IV: 0x0100000000000000
77Plaintext: r64 00
78Ciphertext: 64b8bdf87b828c4b6dbaf7ef698de03df8b33f635714418f9836ade59be1296946c953a0f38ecffc9ecb98e81d5d99a5edfc8f9a0a45b9e41ef3b31f028f1d0f
79Test: Encrypt
80
81AlgorithmType: SymmetricCipher
82Name: ChaCha20
83Source: http://tools.ietf.org/html/draft-strombergson-chacha-test-vectors
84Comment: TC1 - All zero key and IV (16-byte key).
85Key: r16 00
86IV: r8 00
87Plaintext: r64 00
88Ciphertext: 89670952608364fd00b2f90936f031c8e756e15dba04b8493d00429259b20f46cc04f111246b6c2ce066be3bfb32d9aa0fddfbc12123d4b9e44f34dca05a103f
89Test: Encrypt
90Comment: TC1 - All zero key and IV (32-byte key).
91Key: r32 00
92IV: r8 00
93Plaintext: r64 00
94Ciphertext: 76b8e0ada0f13d90405d6ae55386bd28bdd219b8a08ded1aa836efcc8b770dc7da41597c5157488d7724e03fb8d84a376a43b8f41518a11cc387b669b2ee6586
95Test: Encrypt
96Comment: TC2 - Single bit in key set. All zero IV (16-byte key).
97Key: 0x01000000000000000000000000000000
98IV: r8 00
99Plaintext: r64 00
100Ciphertext: ae56060d04f5b597897ff2af1388dbceff5a2a4920335dc17a3cb1b1b10fbe70ece8f4864d8c7cdf0076453a8291c7dbeb3aa9c9d10e8ca36be4449376ed7c42
101Test: Encrypt
102Comment: TC2 - Single bit in key set. All zero IV (32-byte key).
103Key: 0x0100000000000000000000000000000000000000000000000000000000000000
104IV: r8 00
105Plaintext: r64 00
106Ciphertext: c5d30a7ce1ec119378c84f487d775a8542f13ece238a9455e8229e888de85bbd29eb63d0a17a5b999b52da22be4023eb07620a54f6fa6ad8737b71eb0464dac0
107Test: Encrypt
108Comment: TC3 - Single bit in IV set. All zero key (16-byte key).
109Key: r16 00
110IV: 0x0100000000000000
111Plaintext: r64 00
112Ciphertext: 1663879eb3f2c9949e2388caa343d361bb132771245ae6d027ca9cb010dc1fa7178dc41f8278bc1f64b3f12769a24097f40d63a86366bdb36ac08abe60c07fe8
113Test: Encrypt
114Comment: TC3 - Single bit in IV set. All zero key (32-byte key).
115Key: r32 00
116IV: 0x0100000000000000
117Plaintext: r64 00
118Ciphertext: ef3fdfd6c61578fbf5cf35bd3dd33b8009631634d21e42ac33960bd138e50d32111e4caf237ee53ca8ad6426194a88545ddc497a0b466e7d6bbdb0041b2f586b
119Test: Encrypt
120
Note: See TracBrowser for help on using the repository browser.