]>
Commit | Line | Data |
---|---|---|
e3f3ee44 | 1 | # |
eec0ad10 | 2 | # Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved. |
e3f3ee44 SL |
3 | # |
4 | # Licensed under the Apache License 2.0 (the "License"). You may not use | |
5 | # this file except in compliance with the License. You can obtain a copy | |
6 | # in the file LICENSE in the source distribution or at | |
7 | # https://www.openssl.org/source/license.html | |
8 | ||
9 | Title = DES ECB Tests (from destest) | |
10 | ||
11 | Cipher = DES-ECB | |
12 | Key = 0000000000000000 | |
13 | Plaintext = 0000000000000000 | |
14 | Ciphertext = 8CA64DE9C1B123A7 | |
15 | ||
16 | Cipher = DES-ECB | |
17 | Key = FFFFFFFFFFFFFFFF | |
18 | Plaintext = FFFFFFFFFFFFFFFF | |
19 | Ciphertext = 7359B2163E4EDC58 | |
20 | ||
21 | Cipher = DES-ECB | |
22 | Key = 3000000000000000 | |
23 | Plaintext = 1000000000000001 | |
24 | Ciphertext = 958E6E627A05557B | |
25 | ||
26 | Cipher = DES-ECB | |
27 | Key = 1111111111111111 | |
28 | Plaintext = 1111111111111111 | |
29 | Ciphertext = F40379AB9E0EC533 | |
30 | ||
31 | Cipher = DES-ECB | |
32 | Key = 0123456789ABCDEF | |
33 | Plaintext = 1111111111111111 | |
34 | Ciphertext = 17668DFC7292532D | |
35 | ||
36 | Cipher = DES-ECB | |
37 | Key = 1111111111111111 | |
38 | Plaintext = 0123456789ABCDEF | |
39 | Ciphertext = 8A5AE1F81AB8F2DD | |
40 | ||
41 | Cipher = DES-ECB | |
42 | Key = FEDCBA9876543210 | |
43 | Plaintext = 0123456789ABCDEF | |
44 | Ciphertext = ED39D950FA74BCC4 | |
45 | ||
46 | Title = DES Tests (from FIPS PUB 81) | |
47 | ||
48 | Cipher = DES-CBC | |
49 | Key = 0123456789abcdef | |
50 | IV = 1234567890abcdef | |
51 | Plaintext = 4e6f772069732074 | |
52 | Ciphertext = e5c7cdde872bf27c | |
53 | ||
54 | Cipher = DES-CFB8 | |
55 | Key = 0123456789abcdef | |
56 | IV = 1234567890abcdef | |
57 | Plaintext = 4e6f7720697320746865 | |
58 | Ciphertext = f31fda07011462ee187f | |
59 | ||
60 | Cipher = DES-CFB | |
61 | Key = 0123456789abcdef | |
62 | IV = 1234567890abcdef | |
63 | Plaintext = 4e6f77206973207468652074696d6520666f7220616c6c20 | |
64 | Ciphertext = f3096249c7f46e51a69e839b1a92f78403467133898ea622 | |
5ccada09 SL |
65 | |
66 | ||
67 | Title = DES Tests (various sources) | |
68 | ||
69 | Cipher = DES-EDE3-CFB1 | |
70 | Key = 000102030405060708090A0B0C0D0E0F1011121314151617 | |
71 | IV = 0001020304050607 | |
72 | Plaintext = "Hello World" | |
73 | Ciphertext = 3CF55D656E9C0664513358 | |
74 | ||
75 | Cipher = DES-EDE3-CFB1 | |
76 | Key = 000102030405060708090A0B0C0D0E0F1011121314151617 | |
77 | IV = 0001020304050607 | |
78 | Operation = DECRYPT | |
79 | Plaintext = "Hello World" | |
80 | Ciphertext = 3CF55D656E9C0664513358 | |
81 | ||
82 | Cipher = DESX-CBC | |
83 | Key = 0123456789abcdeff1e0d3c2b5a49786fedcba9876543210 | |
84 | IV = fedcba9876543210 | |
85 | Plaintext = 37363534333231204E6F77206973207468652074696D6520666F722000000000 | |
86 | Ciphertext = 846B2914851E9A2954732F8AA0A611C115CDC2D7951B1053A63C5E03B21AA3C4 |