xref: /freebsd/crypto/openssl/test/recipes/30-test_evp_data/evpmd_md.txt (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1#
2# Copyright 2020 The OpenSSL Project Authors. All Rights Reserved.
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
9Title = MD2 tests
10
11Availablein = legacy
12Digest = MD2
13Input =
14Output = 8350e5a3e24c153df2275c9f80692773
15
16Availablein = legacy
17Digest = MD2
18Input = "a"
19Output = 32ec01ec4a6dac72c0ab96fb34c0b5d1
20
21Availablein = legacy
22Digest = MD2
23Input = "abc"
24Output = da853b0d3f88d99b30283a69e6ded6bb
25
26Availablein = legacy
27Digest = MD2
28Input = "message digest"
29Output = ab4f496bfb2a530b219ff33031fe06b0
30
31Availablein = legacy
32Digest = MD2
33Input = "abcdefghijklmnopqrstuvwxyz"
34Output = 4e8ddff3650292ab5a4108c3aa47940b
35
36Availablein = legacy
37Digest = MD2
38Input = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
39Output = da33def2a42df13975352846c30338cd
40
41Availablein = legacy
42Digest = MD2
43Input = "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
44Output = d5976f79d83d3a0dc9806c3c66f3efd8
45
46Title = MD4 tests
47
48Availablein = legacy
49Digest = MD4
50Input = ""
51Output = 31d6cfe0d16ae931b73c59d7e0c089c0
52
53Availablein = legacy
54Digest = MD4
55Input = "a"
56Output = bde52cb31de33e46245e05fbdbd6fb24
57
58Availablein = legacy
59Digest = MD4
60Input = "abc"
61Output = a448017aaf21d8525fc10ae87aa6729d
62
63Availablein = legacy
64Digest = MD4
65Input = "message digest"
66Output = d9130a8164549fe818874806e1c7014b
67
68Availablein = legacy
69Digest = MD4
70Input = "abcdefghijklmnopqrstuvwxyz"
71Output = d79e1c308aa5bbcdeea8ed63df412da9
72
73Availablein = legacy
74Digest = MD4
75Input = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
76Output = 043f8582f241db351ce627e153e7f0e4
77
78Availablein = legacy
79Digest = MD4
80Input = "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
81Output = e33b4ddc9c38f2199c3e7b164fcc0536
82
83Title =  MD5 tests
84
85Digest = MD5
86Input =
87Output = d41d8cd98f00b204e9800998ecf8427e
88
89Digest = MD5
90Input = 61
91Output = 0cc175b9c0f1b6a831c399e269772661
92
93Digest = MD5
94Input = 616263
95Output = 900150983cd24fb0d6963f7d28e17f72
96
97Digest = MD5
98Input = 6d65737361676520646967657374
99Output = f96b697d7cb7938d525a2f31aaf161d0
100
101Digest = MD5
102Input = 6162636465666768696a6b6c6d6e6f707172737475767778797a
103Output = c3fcd3d76192e4007dfb496cca67e13b
104
105Digest = MD5
106Input = 4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a30313233343536373839
107Output = d174ab98d277d9f5a5611c2c9f419d9f
108
109Digest = MD5
110Input = 3132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930
111Output = 57edf4a22be3c955ac49da2e2107b67a
112
113Title = MD5-SHA1
114
115Digest = MD5-SHA1
116Input =
117Output = d41d8cd98f00b204e9800998ecf8427eda39a3ee5e6b4b0d3255bfef95601890afd80709
118
119Digest = MD5-SHA1
120Input = "abc"
121Output = 900150983cd24fb0d6963f7d28e17f72a9993e364706816aba3e25717850c26c9cd0d89d
122
123Digest = MD5-SHA1
124Input = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
125Output = 8215ef0796a20bcaaae116d3876c664a84983e441c3bd26ebaae4aa1f95129e5e54670f1
126