evpmd_md.txt 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. Title = MD2 tests
  9. Digest = MD2
  10. Input =
  11. Output = 8350e5a3e24c153df2275c9f80692773
  12. Digest = MD2
  13. Input = "a"
  14. Output = 32ec01ec4a6dac72c0ab96fb34c0b5d1
  15. Digest = MD2
  16. Input = "abc"
  17. Output = da853b0d3f88d99b30283a69e6ded6bb
  18. Digest = MD2
  19. Input = "message digest"
  20. Output = ab4f496bfb2a530b219ff33031fe06b0
  21. Digest = MD2
  22. Input = "abcdefghijklmnopqrstuvwxyz"
  23. Output = 4e8ddff3650292ab5a4108c3aa47940b
  24. Digest = MD2
  25. Input = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
  26. Output = da33def2a42df13975352846c30338cd
  27. Digest = MD2
  28. Input = "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
  29. Output = d5976f79d83d3a0dc9806c3c66f3efd8
  30. Title = MD4 tests
  31. Digest = MD4
  32. Input = ""
  33. Output = 31d6cfe0d16ae931b73c59d7e0c089c0
  34. Digest = MD4
  35. Input = "a"
  36. Output = bde52cb31de33e46245e05fbdbd6fb24
  37. Digest = MD4
  38. Input = "abc"
  39. Output = a448017aaf21d8525fc10ae87aa6729d
  40. Digest = MD4
  41. Input = "message digest"
  42. Output = d9130a8164549fe818874806e1c7014b
  43. Digest = MD4
  44. Input = "abcdefghijklmnopqrstuvwxyz"
  45. Output = d79e1c308aa5bbcdeea8ed63df412da9
  46. Digest = MD4
  47. Input = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
  48. Output = 043f8582f241db351ce627e153e7f0e4
  49. Digest = MD4
  50. Input = "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
  51. Output = e33b4ddc9c38f2199c3e7b164fcc0536
  52. Title = MD5 tests
  53. Digest = MD5
  54. Input =
  55. Output = d41d8cd98f00b204e9800998ecf8427e
  56. Digest = MD5
  57. Input = 61
  58. Output = 0cc175b9c0f1b6a831c399e269772661
  59. Digest = MD5
  60. Input = 616263
  61. Output = 900150983cd24fb0d6963f7d28e17f72
  62. Digest = MD5
  63. Input = 6d65737361676520646967657374
  64. Output = f96b697d7cb7938d525a2f31aaf161d0
  65. Digest = MD5
  66. Input = 6162636465666768696a6b6c6d6e6f707172737475767778797a
  67. Output = c3fcd3d76192e4007dfb496cca67e13b
  68. Digest = MD5
  69. Input = 4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a30313233343536373839
  70. Output = d174ab98d277d9f5a5611c2c9f419d9f
  71. Digest = MD5
  72. Input = 3132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930
  73. Output = 57edf4a22be3c955ac49da2e2107b67a
  74. Title = MD5-SHA1
  75. Digest = MD5-SHA1
  76. Input =
  77. Output = d41d8cd98f00b204e9800998ecf8427eda39a3ee5e6b4b0d3255bfef95601890afd80709
  78. Digest = MD5-SHA1
  79. Input = "abc"
  80. Output = 900150983cd24fb0d6963f7d28e17f72a9993e364706816aba3e25717850c26c9cd0d89d
  81. Digest = MD5-SHA1
  82. Input = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
  83. Output = 8215ef0796a20bcaaae116d3876c664a84983e441c3bd26ebaae4aa1f95129e5e54670f1