d03ab969 |
1 | # Test vectors for double and triple DES |
d03ab969 |
2 | |
3 | des3 { |
4 | # --- Some simple single-DES things --- |
5 | |
6 | 00451338957377 4e6f772069732074 3fa40e8a984d4815; |
7 | b6c74cbf60c1fd 328da675ff5abd2c cd3e9f9b670671d1; |
8 | |
9 | 0123456789abcdef 4e6f772069732074 3fa40e8a984d4815; |
10 | 0123456789abcdef 68652074696d6520 6a271787ab8883f9; |
11 | 0123456789abcdef 666f7220616c6c20 893d51ec4b563b53; |
12 | 0123456789abcdef 0123456789abcde7 c95744256a5ed31d; |
13 | |
14 | 0045133895737700451338957377 4e6f772069732074 3fa40e8a984d4815; |
15 | b6c74cbf60c1fdb6c74cbf60c1fd 328da675ff5abd2c cd3e9f9b670671d1; |
16 | |
17 | 0123456789abcdef0123456789abcdef 4e6f772069732074 3fa40e8a984d4815; |
18 | 0123456789abcdef0123456789abcdef 68652074696d6520 6a271787ab8883f9; |
19 | 0123456789abcdef0123456789abcdef 666f7220616c6c20 893d51ec4b563b53; |
20 | 0123456789abcdef0123456789abcdef 0123456789abcde7 c95744256a5ed31d; |
21 | |
22 | 004513389573770045133895737700451338957377 |
23 | 4e6f772069732074 3fa40e8a984d4815; |
24 | b6c74cbf60c1fdb6c74cbf60c1fdb6c74cbf60c1fd |
25 | 328da675ff5abd2c cd3e9f9b670671d1; |
26 | |
27 | 0123456789abcdef0123456789abcdef0123456789abcdef |
28 | 4e6f772069732074 3fa40e8a984d4815; |
29 | 0123456789abcdef0123456789abcdef0123456789abcdef |
30 | 68652074696d6520 6a271787ab8883f9; |
31 | 0123456789abcdef0123456789abcdef0123456789abcdef |
32 | 666f7220616c6c20 893d51ec4b563b53; |
33 | 0123456789abcdef0123456789abcdef0123456789abcdef |
34 | 0123456789abcde7 c95744256a5ed31d; |
35 | |
36 | # --- Genuine longer keys --- |
37 | |
38 | 0123456789abcdeffedcba9876543210 0123456789abcde7 7f1d0a77826b8aff; |
39 | 0123456789abcdeffedcba987654321089abcdef01234567 |
40 | 0123456789abcde7 de0b7c06ae5e0ed5; |
41 | } |