cryptopp 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -0
  3. data/Gemfile +14 -0
  4. data/Guardfile +17 -0
  5. data/MIT-LICENSE +1 -1
  6. data/Rakefile +20 -27
  7. data/VERSION +1 -0
  8. data/cryptopp.gemspec +7 -182
  9. data/ext/Rakefile +2 -2
  10. data/ext/ciphers.cpp +619 -619
  11. data/ext/cryptopp.cpp +220 -217
  12. data/ext/cryptopp_ruby_api.h +7 -7
  13. data/ext/defs/hashes.def +16 -0
  14. data/ext/defs/hmacs.def +16 -0
  15. data/ext/digests.cpp +635 -601
  16. data/ext/extconf.rb +61 -19
  17. data/ext/j3way.cpp +5 -5
  18. data/ext/j3way.h +6 -6
  19. data/ext/jadler32.h +6 -6
  20. data/ext/jaes.cpp +5 -5
  21. data/ext/jaes.h +6 -6
  22. data/ext/jarc4.cpp +5 -5
  23. data/ext/jarc4.h +6 -6
  24. data/ext/jbase.cpp +94 -94
  25. data/ext/jbase.h +49 -55
  26. data/ext/jbasiccipherinfo.h +23 -23
  27. data/ext/jblowfish.cpp +5 -5
  28. data/ext/jblowfish.h +6 -6
  29. data/ext/jcamellia.cpp +5 -7
  30. data/ext/jcamellia.h +6 -8
  31. data/ext/jcast128.cpp +5 -5
  32. data/ext/jcast128.h +6 -6
  33. data/ext/jcast256.cpp +5 -5
  34. data/ext/jcast256.h +6 -6
  35. data/ext/jcipher.cpp +62 -62
  36. data/ext/jcipher.h +24 -24
  37. data/ext/jcipher_t.h +383 -383
  38. data/ext/jconfig.h +29 -46
  39. data/ext/jconstants.h +120 -122
  40. data/ext/jcrc32.h +6 -6
  41. data/ext/jdes.cpp +5 -5
  42. data/ext/jdes.h +6 -6
  43. data/ext/jdes_ede2.cpp +5 -5
  44. data/ext/jdes_ede2.h +6 -6
  45. data/ext/jdes_ede3.cpp +5 -5
  46. data/ext/jdes_ede3.h +6 -6
  47. data/ext/jdes_xex3.cpp +5 -5
  48. data/ext/jdes_xex3.h +6 -6
  49. data/ext/jdiamond2.cpp +5 -5
  50. data/ext/jdiamond2.h +6 -6
  51. data/ext/jdiamond2lite.cpp +5 -5
  52. data/ext/jdiamond2lite.h +6 -6
  53. data/ext/jexception.h +5 -5
  54. data/ext/jgost.cpp +5 -5
  55. data/ext/jgost.h +6 -6
  56. data/ext/jhash.cpp +51 -51
  57. data/ext/jhash.h +22 -27
  58. data/ext/jhash_t.h +59 -59
  59. data/ext/jhaval.h +15 -15
  60. data/ext/jhelpers.cpp +54 -54
  61. data/ext/jhelpers.h +3 -3
  62. data/ext/jhmac.cpp +20 -20
  63. data/ext/jhmac.h +15 -15
  64. data/ext/jhmac_t.h +40 -72
  65. data/ext/jidea.cpp +5 -5
  66. data/ext/jidea.h +6 -6
  67. data/ext/jmarc4.cpp +5 -5
  68. data/ext/jmarc4.h +6 -6
  69. data/ext/jmars.cpp +5 -5
  70. data/ext/jmars.h +6 -6
  71. data/ext/jmd2.h +9 -9
  72. data/ext/jmd4.h +9 -9
  73. data/ext/jmd5.h +9 -9
  74. data/ext/jpanamacipher.cpp +7 -7
  75. data/ext/jpanamacipher.h +9 -9
  76. data/ext/jpanamahash.h +9 -9
  77. data/ext/jrc2.cpp +15 -15
  78. data/ext/jrc2.h +11 -11
  79. data/ext/jrc5.cpp +5 -5
  80. data/ext/jrc5.h +6 -6
  81. data/ext/jrc6.cpp +5 -5
  82. data/ext/jrc6.h +6 -6
  83. data/ext/jripemd160.h +28 -28
  84. data/ext/jsafer.cpp +7 -7
  85. data/ext/jsafer.h +9 -9
  86. data/ext/jseal.cpp +7 -7
  87. data/ext/jseal.h +9 -9
  88. data/ext/jserpent.cpp +5 -5
  89. data/ext/jserpent.h +6 -6
  90. data/ext/jsha.h +38 -37
  91. data/ext/jsha3.h +130 -0
  92. data/ext/jsha3_blocksizes.h +73 -0
  93. data/ext/jshacal2.cpp +5 -5
  94. data/ext/jshacal2.h +6 -6
  95. data/ext/jshark.cpp +5 -7
  96. data/ext/jshark.h +6 -8
  97. data/ext/jsink.cpp +57 -57
  98. data/ext/jsink.h +127 -123
  99. data/ext/jskipjack.cpp +5 -5
  100. data/ext/jskipjack.h +6 -6
  101. data/ext/jsquare.cpp +5 -5
  102. data/ext/jsquare.h +6 -6
  103. data/ext/jstream.cpp +3 -3
  104. data/ext/jstream.h +3 -3
  105. data/ext/jstream_t.h +74 -126
  106. data/ext/jtea.cpp +5 -5
  107. data/ext/jtea.h +6 -6
  108. data/ext/jtiger.h +9 -11
  109. data/ext/jtwofish.cpp +5 -5
  110. data/ext/jtwofish.h +6 -6
  111. data/ext/jwhirlpool.h +9 -11
  112. data/ext/utils.cpp +3 -3
  113. data/extras/parser_c.rb +102 -102
  114. data/test/ciphers_test.rb +24 -30
  115. data/test/data/ciphers/3desval.yml +13 -0
  116. data/test/data/ciphers/3wayval.yml +17 -0
  117. data/test/data/ciphers/arc4.yml +22 -0
  118. data/test/data/ciphers/blowfish.yml +9 -0
  119. data/test/data/ciphers/camellia.yml +21 -0
  120. data/test/data/ciphers/cast128v.yml +13 -0
  121. data/test/data/ciphers/cast256v.yml +13 -0
  122. data/test/data/ciphers/descert.yml +723 -0
  123. data/test/data/ciphers/diamond.yml +31 -0
  124. data/test/data/ciphers/gostval.yml +33 -0
  125. data/test/data/ciphers/ideaval.yml +45 -0
  126. data/test/data/ciphers/marsval.yml +37 -0
  127. data/test/data/ciphers/panamac.yml +11 -0
  128. data/test/data/ciphers/rc2val.yml +49 -0
  129. data/test/data/ciphers/rc5val.yml +26 -0
  130. data/test/data/ciphers/rc6val.yml +25 -0
  131. data/test/data/ciphers/rijndael.yml +37 -0
  132. data/test/data/ciphers/saferval.yml +77 -0
  133. data/test/data/ciphers/seal.yml +6 -0
  134. data/test/data/ciphers/serpentv.yml +37 -0
  135. data/test/data/ciphers/shacal2.yml +21 -0
  136. data/test/data/ciphers/sharkval.yml +29 -0
  137. data/test/data/ciphers/skipjack.yml +5 -0
  138. data/test/data/ciphers/squareva.yml +33 -0
  139. data/test/data/ciphers/twofishv.yml +37 -0
  140. data/test/data/digests/adler32.yml +19 -0
  141. data/test/data/digests/crc32.yml +25 -0
  142. data/test/data/digests/haval.yml +7 -0
  143. data/test/data/digests/havalcer.yml +1 -0
  144. data/test/data/digests/md2.yml +22 -0
  145. data/test/data/digests/md4.yml +22 -0
  146. data/test/data/digests/md5.yml +22 -0
  147. data/test/data/digests/panamah.yml +13 -0
  148. data/test/data/digests/ripemd.yml +97 -0
  149. data/test/data/digests/sha.yml +25 -0
  150. data/test/data/digests/sha3.yml +23 -0
  151. data/test/data/digests/tiger.yml +30 -0
  152. data/test/data/digests/whirlpool.yml +25 -0
  153. data/test/data/hmacs/hmac.yml +14 -0
  154. data/test/digests_test.rb +17 -23
  155. data/test/hmacs_test.rb +25 -31
  156. data/test/test_helper.rb +31 -37
  157. metadata +70 -82
  158. data/test/data/ciphers/3desval.dat +0 -7
  159. data/test/data/ciphers/3wayval.dat +0 -6
  160. data/test/data/ciphers/arc4.dat +0 -8
  161. data/test/data/ciphers/blowfish.dat +0 -5
  162. data/test/data/ciphers/camellia.dat +0 -7
  163. data/test/data/ciphers/cast128v.dat +0 -5
  164. data/test/data/ciphers/cast256v.dat +0 -5
  165. data/test/data/ciphers/descert.dat +0 -198
  166. data/test/data/ciphers/diamond.dat +0 -9
  167. data/test/data/ciphers/gostval.dat +0 -10
  168. data/test/data/ciphers/ideaval.dat +0 -13
  169. data/test/data/ciphers/marsval.dat +0 -11
  170. data/test/data/ciphers/panamac.dat +0 -7
  171. data/test/data/ciphers/rc2val.dat +0 -10
  172. data/test/data/ciphers/rc5val.dat +0 -7
  173. data/test/data/ciphers/rc6val.dat +0 -8
  174. data/test/data/ciphers/rijndael.dat +0 -11
  175. data/test/data/ciphers/saferval.dat +0 -27
  176. data/test/data/ciphers/seal.dat +0 -3
  177. data/test/data/ciphers/serpentv.dat +0 -11
  178. data/test/data/ciphers/shacal2.dat +0 -7
  179. data/test/data/ciphers/sharkval.dat +0 -9
  180. data/test/data/ciphers/skipjack.dat +0 -3
  181. data/test/data/ciphers/squareva.dat +0 -10
  182. data/test/data/ciphers/twofishv.dat +0 -11
  183. data/test/data/digests/adler32.dat +0 -8
  184. data/test/data/digests/crc32.dat +0 -10
  185. data/test/data/digests/haval.dat +0 -4
  186. data/test/data/digests/havalcer.dat +0 -23
  187. data/test/data/digests/md2.dat +0 -9
  188. data/test/data/digests/md4.dat +0 -9
  189. data/test/data/digests/md5.dat +0 -9
  190. data/test/data/digests/panamah.dat +0 -8
  191. data/test/data/digests/ripemd.dat +0 -43
  192. data/test/data/digests/sha.dat +0 -19
  193. data/test/data/digests/tiger.dat +0 -11
  194. data/test/data/digests/whirlpool.dat +0 -13
  195. data/test/data/hmacs/hmac.dat +0 -6
@@ -0,0 +1,29 @@
1
+ ---
2
+ - :algorithm: :shark
3
+ :key_hex: '00000000000000000000000000000000'
4
+ :plaintext_hex: '0000000000000000'
5
+ :ciphertext_hex: 214bcf4e7716420a
6
+ - :algorithm: :shark
7
+ :key_hex: 000102030405060708090a0b0c0d0e0f
8
+ :plaintext_hex: '0000000000000000'
9
+ :ciphertext_hex: c76c696289898137
10
+ - :algorithm: :shark
11
+ :key_hex: 000102030405060708090a0b0c0d0e0f
12
+ :plaintext_hex: c76c696289898137
13
+ :ciphertext_hex: 077a4a59faeeea4d
14
+ - :algorithm: :shark
15
+ :key_hex: 915f4619be41b2516355a50110a9ce91
16
+ :plaintext_hex: 21a5dbee154b8f6d
17
+ :ciphertext_hex: 6ff33b98f448e95a
18
+ - :algorithm: :shark
19
+ :key_hex: 783348e75aeb0f2fd7b169bb8dc16787
20
+ :plaintext_hex: f7c013ac5b2b8952
21
+ :ciphertext_hex: e5e554abe9ced2d2
22
+ - :algorithm: :shark
23
+ :key_hex: dc49db1375a5584f6485b413b5f12baf
24
+ :plaintext_hex: 2f42b3b70369fc92
25
+ :ciphertext_hex: 9ae068313f343a7a
26
+ - :algorithm: :shark
27
+ :key_hex: 5269f149d41ba0152497574d7f153125
28
+ :plaintext_hex: 65c178b284d197cc
29
+ :ciphertext_hex: d3f111a282f17f29
@@ -0,0 +1,5 @@
1
+ ---
2
+ - :algorithm: :skipjack
3
+ :key_hex: '11223344556677889900'
4
+ :plaintext_hex: aabbccdd00112233
5
+ :ciphertext_hex: 00d3127ae2ca8725
@@ -0,0 +1,33 @@
1
+ ---
2
+ - :algorithm: :square
3
+ :key_hex: '00000000000000000000000000000000'
4
+ :plaintext_hex: '00000000000000000000000000000000'
5
+ :ciphertext_hex: 3c00428f8abbc0b84f057cc19c26f8cf
6
+ - :algorithm: :square
7
+ :key_hex: 000102030405060708090a0b0c0d0e0f
8
+ :plaintext_hex: '00000000000000000000000000000000'
9
+ :ciphertext_hex: ff596fa668bfc3014200ae01e2bba0a0
10
+ - :algorithm: :square
11
+ :key_hex: 000102030405060708090a0b0c0d0e0f
12
+ :plaintext_hex: 000102030405060708090a0b0c0d0e0f
13
+ :ciphertext_hex: 7c3491d94994e70f0ec2e7a5ccb5a14f
14
+ - :algorithm: :square
15
+ :key_hex: 000102030405060708090a0b0c0d0e0f
16
+ :plaintext_hex: c76c696289898137077a4a59faeeea4d
17
+ :ciphertext_hex: 88c6ff4b92604c6e66656b02ddaf9f40
18
+ - :algorithm: :square
19
+ :key_hex: 915f4619be41b2516355a50110a9ce91
20
+ :plaintext_hex: 21a5dbee154b8f6d6ff33b98f448e95a
21
+ :ciphertext_hex: 3388801f66e7fcc0bce522a23a4f0c7f
22
+ - :algorithm: :square
23
+ :key_hex: 783348e75aeb0f2fd7b169bb8dc16787
24
+ :plaintext_hex: f7c013ac5b2b8952e5e554abe9ced2d2
25
+ :ciphertext_hex: a1c0e9215141343dec2b556942c92bde
26
+ - :algorithm: :square
27
+ :key_hex: dc49db1375a5584f6485b413b5f12baf
28
+ :plaintext_hex: 2f42b3b70369fc929ae068313f343a7a
29
+ :ciphertext_hex: 3fbe6811b998cdf3e50abde2f3c075e3
30
+ - :algorithm: :square
31
+ :key_hex: 5269f149d41ba0152497574d7f153125
32
+ :plaintext_hex: 65c178b284d197ccd3f111a282f17f29
33
+ :ciphertext_hex: d7b7209e0879744c782809b6d2e0b1b0
@@ -0,0 +1,37 @@
1
+ ---
2
+ - :algorithm: :twofish
3
+ :key_hex: '00000000000000000000000000000000'
4
+ :plaintext_hex: '00000000000000000000000000000000'
5
+ :ciphertext_hex: 9f589f5cf6122c32b6bfec2f2ae8c35a
6
+ - :algorithm: :twofish
7
+ :key_hex: '00000000000000000000000000000000'
8
+ :plaintext_hex: 9f589f5cf6122c32b6bfec2f2ae8c35a
9
+ :ciphertext_hex: d491db16e7b1c39e86cb086b789f5419
10
+ - :algorithm: :twofish
11
+ :key_hex: 9f589f5cf6122c32b6bfec2f2ae8c35a
12
+ :plaintext_hex: d491db16e7b1c39e86cb086b789f5419
13
+ :ciphertext_hex: 019f9809de1711858faac3a3ba20fbc3
14
+ - :algorithm: :twofish
15
+ :key_hex: d491db16e7b1c39e86cb086b789f5419
16
+ :plaintext_hex: 019f9809de1711858faac3a3ba20fbc3
17
+ :ciphertext_hex: 6363977de839486297e661c6c9d668eb
18
+ - :algorithm: :twofish
19
+ :key_hex: '000000000000000000000000000000000000000000000000'
20
+ :plaintext_hex: '00000000000000000000000000000000'
21
+ :ciphertext_hex: efa71f788965bd4453f860178fc19101
22
+ - :algorithm: :twofish
23
+ :key_hex: efa71f788965bd4453f860178fc191010000000000000000
24
+ :plaintext_hex: 88b2b2706b105e36b446bb6d731a1e88
25
+ :ciphertext_hex: 39da69d6ba4997d585b6dc073ca341b2
26
+ - :algorithm: :twofish
27
+ :key_hex: 88b2b2706b105e36b446bb6d731a1e88efa71f788965bd44
28
+ :plaintext_hex: 39da69d6ba4997d585b6dc073ca341b2
29
+ :ciphertext_hex: 182b02d81497ea45f9daacdc29193a65
30
+ - :algorithm: :twofish
31
+ :key_hex: '0000000000000000000000000000000000000000000000000000000000000000'
32
+ :plaintext_hex: '00000000000000000000000000000000'
33
+ :ciphertext_hex: 57ff739d4dc92c1bd7fc01700cc8216f
34
+ - :algorithm: :twofish
35
+ :key_hex: d43bb7556ea32e46f2a282b7d45b4e0d57ff739d4dc92c1bd7fc01700cc8216f
36
+ :plaintext_hex: 90afe91bb288544f2c32dc239b2635e6
37
+ :ciphertext_hex: 6cb4561c40bf0a9705931cb6d408e7fa
@@ -0,0 +1,19 @@
1
+ ---
2
+ - :algorithm: :adler32
3
+ :plaintext: ''
4
+ :digest_hex: '00000001'
5
+ - :algorithm: :adler32
6
+ :plaintext: a
7
+ :digest_hex: '00620062'
8
+ - :algorithm: :adler32
9
+ :plaintext: abc
10
+ :digest_hex: 024d0127
11
+ - :algorithm: :adler32
12
+ :plaintext: message digest
13
+ :digest_hex: '29750586'
14
+ - :algorithm: :adler32
15
+ :plaintext: abcdefghijklmnopqrstuvwxyz
16
+ :digest_hex: 90860b20
17
+ - :algorithm: :adler32
18
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
19
+ :digest_hex: 8adb150c
@@ -0,0 +1,25 @@
1
+ ---
2
+ - :algorithm: :crc32
3
+ :plaintext: ''
4
+ :digest_hex: '00000000'
5
+ - :algorithm: :crc32
6
+ :plaintext: a
7
+ :digest_hex: 43beb7e8
8
+ - :algorithm: :crc32
9
+ :plaintext: abc
10
+ :digest_hex: c2412435
11
+ - :algorithm: :crc32
12
+ :plaintext: message digest
13
+ :digest_hex: 7f9d1520
14
+ - :algorithm: :crc32
15
+ :plaintext: abcdefghijklmnopqrstuvwxyz
16
+ :digest_hex: bd50274c
17
+ - :algorithm: :crc32
18
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
19
+ :digest_hex: d2e6c21f
20
+ - :algorithm: :crc32
21
+ :plaintext: '12345678901234567890123456789012345678901234567890123456789012345678901234567890'
22
+ :digest_hex: 724aa97c
23
+ - :algorithm: :crc32
24
+ :plaintext: '123456789'
25
+ :digest_hex: 2639f4cb
@@ -0,0 +1,7 @@
1
+ ---
2
+ - :algorithm: :haval5
3
+ :plaintext: abcdefghijklmnopqrstuvwxyz
4
+ :digest: c9c7d8afa159fd9e965cb83ff5ee6f58aeda352c0eff005548153a61551c38ee
5
+ - :algorithm: :haval5
6
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
7
+ :digest: b45cb6e62f2b1320e4f8f1b0b273d45add47c321fd23999dcf403ac37636d963
@@ -0,0 +1 @@
1
+ --- []
@@ -0,0 +1,22 @@
1
+ ---
2
+ - :algorithm: :md2
3
+ :plaintext: ''
4
+ :digest_hex: 8350e5a3e24c153df2275c9f80692773
5
+ - :algorithm: :md2
6
+ :plaintext: a
7
+ :digest_hex: 32ec01ec4a6dac72c0ab96fb34c0b5d1
8
+ - :algorithm: :md2
9
+ :plaintext: abc
10
+ :digest_hex: da853b0d3f88d99b30283a69e6ded6bb
11
+ - :algorithm: :md2
12
+ :plaintext: message digest
13
+ :digest_hex: ab4f496bfb2a530b219ff33031fe06b0
14
+ - :algorithm: :md2
15
+ :plaintext: abcdefghijklmnopqrstuvwxyz
16
+ :digest_hex: 4e8ddff3650292ab5a4108c3aa47940b
17
+ - :algorithm: :md2
18
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
19
+ :digest_hex: da33def2a42df13975352846c30338cd
20
+ - :algorithm: :md2
21
+ :plaintext: '12345678901234567890123456789012345678901234567890123456789012345678901234567890'
22
+ :digest_hex: d5976f79d83d3a0dc9806c3c66f3efd8
@@ -0,0 +1,22 @@
1
+ ---
2
+ - :algorithm: :md4
3
+ :plaintext: ''
4
+ :digest_hex: 31d6cfe0d16ae931b73c59d7e0c089c0
5
+ - :algorithm: :md4
6
+ :plaintext: a
7
+ :digest_hex: bde52cb31de33e46245e05fbdbd6fb24
8
+ - :algorithm: :md4
9
+ :plaintext: abc
10
+ :digest_hex: a448017aaf21d8525fc10ae87aa6729d
11
+ - :algorithm: :md4
12
+ :plaintext: message digest
13
+ :digest_hex: d9130a8164549fe818874806e1c7014b
14
+ - :algorithm: :md4
15
+ :plaintext: abcdefghijklmnopqrstuvwxyz
16
+ :digest_hex: d79e1c308aa5bbcdeea8ed63df412da9
17
+ - :algorithm: :md4
18
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
19
+ :digest_hex: 043f8582f241db351ce627e153e7f0e4
20
+ - :algorithm: :md4
21
+ :plaintext: '12345678901234567890123456789012345678901234567890123456789012345678901234567890'
22
+ :digest_hex: e33b4ddc9c38f2199c3e7b164fcc0536
@@ -0,0 +1,22 @@
1
+ ---
2
+ - :algorithm: :md5
3
+ :plaintext: ''
4
+ :digest_hex: d41d8cd98f00b204e9800998ecf8427e
5
+ - :algorithm: :md5
6
+ :plaintext: a
7
+ :digest_hex: 0cc175b9c0f1b6a831c399e269772661
8
+ - :algorithm: :md5
9
+ :plaintext: abc
10
+ :digest_hex: 900150983cd24fb0d6963f7d28e17f72
11
+ - :algorithm: :md5
12
+ :plaintext: message digest
13
+ :digest_hex: f96b697d7cb7938d525a2f31aaf161d0
14
+ - :algorithm: :md5
15
+ :plaintext: abcdefghijklmnopqrstuvwxyz
16
+ :digest_hex: c3fcd3d76192e4007dfb496cca67e13b
17
+ - :algorithm: :md5
18
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
19
+ :digest_hex: d174ab98d277d9f5a5611c2c9f419d9f
20
+ - :algorithm: :md5
21
+ :plaintext: '12345678901234567890123456789012345678901234567890123456789012345678901234567890'
22
+ :digest_hex: 57edf4a22be3c955ac49da2e2107b67a
@@ -0,0 +1,13 @@
1
+ ---
2
+ - :algorithm: :panama_le
3
+ :plaintext: ''
4
+ :digest_hex: aa0cc954d757d7ac7779ca3342334ca471abd47d5952ac91ed837ecd5b16922b
5
+ - :algorithm: :panama_le
6
+ :plaintext: The quick brown fox jumps over the lazy dog
7
+ :digest_hex: 5f5ca355b90ac622b0aa7e654ef5f27e9e75111415b48b8afe3add1c6b89cba1
8
+ - :algorithm: :panama_be
9
+ :plaintext: ''
10
+ :digest_hex: e81aa04523532dd7267e5c5bc3ba0e289837a62ba032350351980e960a84b0af
11
+ - :algorithm: :panama_be
12
+ :plaintext: The quick brown fox jumps over the lazy dog
13
+ :digest_hex: 8fa7dadce0110f979a0b795e76b2c25628d8bda88747758149c42e3bc13f85bc
@@ -0,0 +1,97 @@
1
+ ---
2
+ - :algorithm: :ripemd128
3
+ :plaintext: ''
4
+ :digest_hex: cdf26213a150dc3ecb610f18f6b38b46
5
+ - :algorithm: :ripemd128
6
+ :plaintext: a
7
+ :digest_hex: 86be7afa339d0fc7cfc785e72f578d33
8
+ - :algorithm: :ripemd128
9
+ :plaintext: abc
10
+ :digest_hex: c14a12199c66e4ba84636b0f69144c77
11
+ - :algorithm: :ripemd128
12
+ :plaintext: message digest
13
+ :digest_hex: 9e327b3d6e523062afc1132d7df9d1b8
14
+ - :algorithm: :ripemd128
15
+ :plaintext: abcdefghijklmnopqrstuvwxyz
16
+ :digest_hex: fd2aa607f71dc8f510714922b371834e
17
+ - :algorithm: :ripemd128
18
+ :plaintext: abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
19
+ :digest_hex: a1aa0689d0fafa2ddc22e88b49133a06
20
+ - :algorithm: :ripemd128
21
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
22
+ :digest_hex: d1e959eb179c911faea4624c60c5c702
23
+ - :algorithm: :ripemd128
24
+ :plaintext: '12345678901234567890123456789012345678901234567890123456789012345678901234567890'
25
+ :digest_hex: 3f45ef194732c2dbb2c4a2c769795fa3
26
+ - :algorithm: :ripemd160
27
+ :plaintext: ''
28
+ :digest_hex: 9c1185a5c5e9fc54612808977ee8f548b2258d31
29
+ - :algorithm: :ripemd160
30
+ :plaintext: a
31
+ :digest_hex: 0bdc9d2d256b3ee9daae347be6f4dc835a467ffe
32
+ - :algorithm: :ripemd160
33
+ :plaintext: abc
34
+ :digest_hex: 8eb208f7e05d987a9b044a8e98c6b087f15a0bfc
35
+ - :algorithm: :ripemd160
36
+ :plaintext: message digest
37
+ :digest_hex: 5d0689ef49d2fae572b881b123a85ffa21595f36
38
+ - :algorithm: :ripemd160
39
+ :plaintext: abcdefghijklmnopqrstuvwxyz
40
+ :digest_hex: f71c27109c692c1b56bbdceb5b9d2865b3708dbc
41
+ - :algorithm: :ripemd160
42
+ :plaintext: abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
43
+ :digest_hex: 12a053384a9c0c88e405a06c27dcf49ada62eb2b
44
+ - :algorithm: :ripemd160
45
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
46
+ :digest_hex: b0e20b6e3116640286ed3a87a5713079b21f5189
47
+ - :algorithm: :ripemd160
48
+ :plaintext: '12345678901234567890123456789012345678901234567890123456789012345678901234567890'
49
+ :digest_hex: 9b752e45573d4b39f4dbd3323cab82bf63326bfb
50
+ - :algorithm: :ripemd256
51
+ :plaintext: ''
52
+ :digest_hex: 02ba4c4e5f8ecd1877fc52d64d30e37a2d9774fb1e5d026380ae0168e3c5522d
53
+ - :algorithm: :ripemd256
54
+ :plaintext: a
55
+ :digest_hex: f9333e45d857f5d90a91bab70a1eba0cfb1be4b0783c9acfcd883a9134692925
56
+ - :algorithm: :ripemd256
57
+ :plaintext: abc
58
+ :digest_hex: afbd6e228b9d8cbbcef5ca2d03e6dba10ac0bc7dcbe4680e1e42d2e975459b65
59
+ - :algorithm: :ripemd256
60
+ :plaintext: message digest
61
+ :digest_hex: 87e971759a1ce47a514d5c914c392c9018c7c46bc14465554afcdf54a5070c0e
62
+ - :algorithm: :ripemd256
63
+ :plaintext: abcdefghijklmnopqrstuvwxyz
64
+ :digest_hex: 649d3034751ea216776bf9a18acc81bc7896118a5197968782dd1fd97d8d5133
65
+ - :algorithm: :ripemd256
66
+ :plaintext: abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
67
+ :digest_hex: 3843045583aac6c8c8d9128573e7a9809afb2a0f34ccc36ea9e72f16f6368e3f
68
+ - :algorithm: :ripemd256
69
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
70
+ :digest_hex: 5740a408ac16b720b84424ae931cbb1fe363d1d0bf4017f1a89f7ea6de77a0b8
71
+ - :algorithm: :ripemd256
72
+ :plaintext: '12345678901234567890123456789012345678901234567890123456789012345678901234567890'
73
+ :digest_hex: 06fdcc7a409548aaf91368c06a6275b553e3f099bf0ea4edfd6778df89a890dd
74
+ - :algorithm: :ripemd320
75
+ :plaintext: ''
76
+ :digest_hex: 22d65d5661536cdc75c1fdf5c6de7b41b9f27325ebc61e8557177d705a0ec880151c3a32a00899b8
77
+ - :algorithm: :ripemd320
78
+ :plaintext: a
79
+ :digest_hex: ce78850638f92658a5a585097579926dda667a5716562cfcf6fbe77f63542f99b04705d6970dff5d
80
+ - :algorithm: :ripemd320
81
+ :plaintext: abc
82
+ :digest_hex: de4c01b3054f8930a79d09ae738e92301e5a17085beffdc1b8d116713e74f82fa942d64cdbc4682d
83
+ - :algorithm: :ripemd320
84
+ :plaintext: message digest
85
+ :digest_hex: 3a8e28502ed45d422f68844f9dd316e7b98533fa3f2a91d29f84d425c88d6b4eff727df66a7c0197
86
+ - :algorithm: :ripemd320
87
+ :plaintext: abcdefghijklmnopqrstuvwxyz
88
+ :digest_hex: cabdb1810b92470a2093aa6bce05952c28348cf43ff60841975166bb40ed234004b8824463e6b009
89
+ - :algorithm: :ripemd320
90
+ :plaintext: abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
91
+ :digest_hex: d034a7950cf722021ba4b84df769a5de2060e259df4c9bb4a4268c0e935bbc7470a969c9d072a1ac
92
+ - :algorithm: :ripemd320
93
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
94
+ :digest_hex: ed544940c86d67f250d232c30b7b3e5770e0c60c8cb9a4cafe3b11388af9920e1b99230b843c86a4
95
+ - :algorithm: :ripemd320
96
+ :plaintext: '12345678901234567890123456789012345678901234567890123456789012345678901234567890'
97
+ :digest_hex: 557888af5f6d8ed62ab66945c6d2a0a47ecd5341e915eb8fea1d0524955f825dc717e4a008ab2d42
@@ -0,0 +1,25 @@
1
+ ---
2
+ - :algorithm: :sha1
3
+ :plaintext: abc
4
+ :digest_hex: a9993e364706816aba3e25717850c26c9cd0d89d
5
+ - :algorithm: :sha1
6
+ :plaintext: abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
7
+ :digest_hex: 84983e441c3bd26ebaae4aa1f95129e5e54670f1
8
+ - :algorithm: :sha256
9
+ :plaintext: abc
10
+ :digest_hex: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
11
+ - :algorithm: :sha256
12
+ :plaintext: abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
13
+ :digest_hex: 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1
14
+ - :algorithm: :sha384
15
+ :plaintext: abc
16
+ :digest_hex: cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed8086072ba1e7cc2358baeca134c825a7
17
+ - :algorithm: :sha384
18
+ :plaintext: abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu
19
+ :digest_hex: 09330c33f71147e83d192fc782cd1b4753111b173b3b05d22fa08086e3b0f712fcc7c71a557e2db966c3e9fa91746039
20
+ - :algorithm: :sha512
21
+ :plaintext: abc
22
+ :digest_hex: ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f
23
+ - :algorithm: :sha512
24
+ :plaintext: abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu
25
+ :digest_hex: 8e959b75dae313da8cf4f72814fc143f8f7779c6eb9f7fa17299aeadb6889018501d289e4900f7e4331b99dec4b5433ac7d329eeb6dd26545e96e55b874be909
@@ -0,0 +1,23 @@
1
+ ---
2
+ - :algorithm: :sha3_224
3
+ :plaintext: ''
4
+ :digest_hex: f71837502ba8e10837bdd8d365adb85591895602fc552b48b7390abd
5
+ - :algorithm: :sha3_224
6
+ :plaintext: The quick brown fox jumps over the lazy dog
7
+ :digest_hex: 310aee6b30c47350576ac2873fa89fd190cdc488442f3ef654cf23fe
8
+ - :algorithm: :sha3_224
9
+ :plaintext: The quick brown fox jumps over the lazy dog.
10
+ :digest_hex: c59d4eaeac728671c635ff645014e2afa935bebffdb5fbd207ffdeab
11
+ - :algorithm: :sha3_224
12
+ :plaintext: abc
13
+ :digest_hex: c30411768506ebe1c2871b1ee2e87d38df342317300a9b97a95ec6a8
14
+ - :algorithm: :sha3_224
15
+ :plaintext: abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
16
+ :digest_hex: e51faa2b4655150b931ee8d700dc202f763ca5f962c529eae55012b6
17
+ - :algorithm: :sha3_224
18
+ :plaintext: abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu
19
+ :digest_hex: 344298994b1b06873eae2ce739c425c47291a2e24189e01b524f88dc
20
+ - :algorithm: :sha3_224
21
+ :plaintext: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
22
+ :plaintext_repeat: 15625
23
+ :digest_hex: 19f9167be2a04c43abd0ed554788101b9c339031acc8e1468531303f
@@ -0,0 +1,30 @@
1
+ ---
2
+ - :algorithm: :tiger
3
+ :plaintext: ''
4
+ :digest_hex: 3293ac630c13f0245f92bbb1766e16167a4e58492dde73f3
5
+ - :algorithm: :tiger
6
+ :plaintext: abc
7
+ :digest_hex: 2aab1484e8c158f2bfb8c5ff41b57a525129131c957b5f93
8
+ - :algorithm: :tiger
9
+ :plaintext: Tiger
10
+ :digest_hex: dd00230799f5009fec6debc838bb6a27df2b9d6f110c7937
11
+ - :algorithm: :tiger
12
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-
13
+ :digest_hex: f71c8583902afb879edfe610f82c0d4786a3a534504486b5
14
+ - :algorithm: :tiger
15
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789
16
+ :digest_hex: 48ceeb6308b87d46e95d656112cdf18d97915f9765658957
17
+ - :algorithm: :tiger
18
+ :plaintext: Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham
19
+ :digest_hex: 8a866829040a410c729ad23f5ada711603b3cdd357e4c15e
20
+ - :algorithm: :tiger
21
+ :plaintext: Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham, proceedings
22
+ of Fast Software Encryption 3, Cambridge.
23
+ :digest_hex: ce55a6afd591f5ebac547ff84f89227f9331dab0b611c889
24
+ - :algorithm: :tiger
25
+ :plaintext: Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham, proceedings
26
+ of Fast Software Encryption 3, Cambridge, 1996.
27
+ :digest_hex: 631abdd103eb9a3d245b6dfd4d77b257fc7439501d1568dd
28
+ - :algorithm: :tiger
29
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-
30
+ :digest_hex: c54034e5b43eb8005848a7e0ae6aac76e4ff590ae715fd25
@@ -0,0 +1,25 @@
1
+ ---
2
+ - :algorithm: :whirlpool
3
+ :plaintext: ''
4
+ :digest_hex: 19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3
5
+ - :algorithm: :whirlpool
6
+ :plaintext: a
7
+ :digest_hex: 8aca2602792aec6f11a67206531fb7d7f0dff59413145e6973c45001d0087b42d11bc645413aeff63a42391a39145a591a92200d560195e53b478584fdae231a
8
+ - :algorithm: :whirlpool
9
+ :plaintext: abc
10
+ :digest_hex: 4e2448a4c6f486bb16b6562c73b4020bf3043e3a731bce721ae1b303d97e6d4c7181eebdb6c57e277d0e34957114cbd6c797fc9d95d8b582d225292076d4eef5
11
+ - :algorithm: :whirlpool
12
+ :plaintext: message digest
13
+ :digest_hex: 378c84a4126e2dc6e56dcc7458377aac838d00032230f53ce1f5700c0ffb4d3b8421557659ef55c106b4b52ac5a4aaa692ed920052838f3362e86dbd37a8903e
14
+ - :algorithm: :whirlpool
15
+ :plaintext: abcdefghijklmnopqrstuvwxyz
16
+ :digest_hex: f1d754662636ffe92c82ebb9212a484a8d38631ead4238f5442ee13b8054e41b08bf2a9251c30b6a0b8aae86177ab4a6f68f673e7207865d5d9819a3dba4eb3b
17
+ - :algorithm: :whirlpool
18
+ :plaintext: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
19
+ :digest_hex: dc37e008cf9ee69bf11f00ed9aba26901dd7c28cdec066cc6af42e40f82f3a1e08eba26629129d8fb7cb57211b9281a65517cc879d7b962142c65f5a7af01467
20
+ - :algorithm: :whirlpool
21
+ :plaintext: '12345678901234567890123456789012345678901234567890123456789012345678901234567890'
22
+ :digest_hex: 466ef18babb0154d25b9d38a6414f5c08784372bccb204d6549c4afadb6014294d5bd8df2a6c44e538cd047b2681a51a2c60481e88c5a20b2c2a80cf3a9a083b
23
+ - :algorithm: :whirlpool
24
+ :plaintext: abcdbcdecdefdefgefghfghighijhijk
25
+ :digest_hex: 2a987ea40f917061f5d6f0a0e4644f488a7a5a52deee656207c562f988e95c6916bdc8031bc5be1b7b947639fe050b56939baaa0adff9ae6745b7b181c3be3fd