cryptopp 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
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,31 @@
1
+ ---
2
+ - :algorithm: :diamond2
3
+ :key_hex: e834fdb933c502923d92bc9e14368e70d41c66cbdf36155033a66e07e6cc6d8d
4
+ :plaintext_hex: 5a8d872d31eedde63fc46f6c36456d8e
5
+ :ciphertext_hex: 39b60490aeef791a29015d74494aaa89
6
+ :rounds: '15'
7
+ - :algorithm: :diamond2
8
+ :key_hex: 599b02fbd0d321a789eb97b388bf77c663
9
+ :plaintext_hex: 56a25a87d40ab25a1dd972a7d154f8a5
10
+ :ciphertext_hex: 081420f230d5a85ab2b55453c43c7967
11
+ :rounds: '14'
12
+ - :algorithm: :diamond2
13
+ :key_hex: 3361066b2c297543
14
+ :plaintext_hex: 787699fcb627774fcf0f0d82462d6e7d
15
+ :ciphertext_hex: ceb8b4f88c02df34addaf431e7a7a07c
16
+ :rounds: '9'
17
+ - :algorithm: :diamond2_lite
18
+ :key_hex: e834fdb933c502923d92bc9e14368e70d41c66cbdf36155033a66e07e6cc6d8d
19
+ :plaintext_hex: 5a8d872d31eedde6
20
+ :ciphertext_hex: 2e69544d7723cba0
21
+ :rounds: '30'
22
+ - :algorithm: :diamond2_lite
23
+ :key_hex: 599b02fbd0d321a789eb97b388bf77c663
24
+ :plaintext_hex: 56a25a87d40ab25a
25
+ :ciphertext_hex: 3177400de74099bb
26
+ :rounds: '11'
27
+ - :algorithm: :diamond2_lite
28
+ :key_hex: 3361066b2c297543
29
+ :plaintext_hex: 787699fcb627774f
30
+ :ciphertext_hex: 06ad8cdf623d31f7
31
+ :rounds: '10'
@@ -0,0 +1,33 @@
1
+ ---
2
+ - :algorithm: :gost
3
+ :key_hex: be5ec2006cff9dcf52354959f1ff0cbfe95061b5a648c10387069c25997c0672
4
+ :plaintext_hex: 0df82802b741a292
5
+ :ciphertext_hex: 07f9027df7f7df89
6
+ - :algorithm: :gost
7
+ :key_hex: b385272ac8d72a5a8b344bc80363ac4d09bf58f41f540624cbcb8fdcf55307d7
8
+ :plaintext_hex: 1354ee9c0a11cd4c
9
+ :ciphertext_hex: 4fb50536f960a7b1
10
+ - :algorithm: :gost
11
+ :key_hex: aee02f609a35660e4097e546fd3026b032cd107c7d459977adf489bef2652262
12
+ :plaintext_hex: 6693d492c4b0cc39
13
+ :ciphertext_hex: 670034ac0fa811b5
14
+ - :algorithm: :gost
15
+ :key_hex: 320e9d8422165d58911dfc7d8bbb1f81b0ecd924023bf94d9df7dcf7801240e0
16
+ :plaintext_hex: 99e2d13080928d79
17
+ :ciphertext_hex: 8118ff9d3b3cfe7d
18
+ - :algorithm: :gost
19
+ :key_hex: c9f703bbbfc63691bfa3b7b87ea8fd5e8e8ef384ef733f1a61aef68c8ffa265f
20
+ :plaintext_hex: d1e787749c72814c
21
+ :ciphertext_hex: a083826a790d3e0c
22
+ - :algorithm: :gost
23
+ :key_hex: 728fee32f04b4c654ad7f607d71c660c2c2670d7c999713233149a1c0c17a1f0
24
+ :plaintext_hex: d4c05323a4f7a7b5
25
+ :ciphertext_hex: 4d1f2e6b0d9de2ce
26
+ - :algorithm: :gost
27
+ :key_hex: 35fc96402209500fcfdef5352d1abb038fe33fc0d9d58512e56370b22baa133b
28
+ :plaintext_hex: 8742d9a05f6a3af6
29
+ :ciphertext_hex: 2f3bb84879d11e52
30
+ - :algorithm: :gost
31
+ :key_hex: d416f630be65b7fe150656183370e07018234ee5da3d89c4ce9152a03e5bfb77
32
+ :plaintext_hex: f86506da04e41cb8
33
+ :ciphertext_hex: 96f0a5c77a04f5ce
@@ -0,0 +1,45 @@
1
+ ---
2
+ - :algorithm: :idea
3
+ :key_hex: 00010002000300040005000600070008
4
+ :plaintext_hex: '0000000100020003'
5
+ :ciphertext_hex: 11fbed2b01986de5
6
+ - :algorithm: :idea
7
+ :key_hex: 00010002000300040005000600070008
8
+ :plaintext_hex: 0102030405060708
9
+ :ciphertext_hex: 540e5fea18c2f8b1
10
+ - :algorithm: :idea
11
+ :key_hex: 00010002000300040005000600070008
12
+ :plaintext_hex: 0019324b647d96af
13
+ :ciphertext_hex: 9f0a0ab6e10ced78
14
+ - :algorithm: :idea
15
+ :key_hex: 00010002000300040005000600070008
16
+ :plaintext_hex: f5202d5b9c671b08
17
+ :ciphertext_hex: cf18fd7355e2c5c5
18
+ - :algorithm: :idea
19
+ :key_hex: 00010002000300040005000600070008
20
+ :plaintext_hex: fae6d2beaa96826e
21
+ :ciphertext_hex: 85df52005608193d
22
+ - :algorithm: :idea
23
+ :key_hex: 00010002000300040005000600070008
24
+ :plaintext_hex: 0a141e28323c4650
25
+ :ciphertext_hex: 2f7de750212fb734
26
+ - :algorithm: :idea
27
+ :key_hex: 00010002000300040005000600070008
28
+ :plaintext_hex: 050a0f14191e2328
29
+ :ciphertext_hex: 7b7314925de59c09
30
+ - :algorithm: :idea
31
+ :key_hex: 0005000a000f00140019001e00230028
32
+ :plaintext_hex: 0102030405060708
33
+ :ciphertext_hex: 3ec04780beff6e20
34
+ - :algorithm: :idea
35
+ :key_hex: 3a984e2000195db32ee501c8c47cea60
36
+ :plaintext_hex: 0102030405060708
37
+ :ciphertext_hex: 97bcd8200780da86
38
+ - :algorithm: :idea
39
+ :key_hex: 006400c8012c019001f4025802bc0320
40
+ :plaintext_hex: 05320a6414c819fa
41
+ :ciphertext_hex: 65be87e7a2538aed
42
+ - :algorithm: :idea
43
+ :key_hex: 9d4075c103bc322afb03e7be6ab30006
44
+ :plaintext_hex: 0808080808080808
45
+ :ciphertext_hex: f5db1ac45e5ef9f9
@@ -0,0 +1,37 @@
1
+ ---
2
+ - :algorithm: :mars
3
+ :key_hex: '00000000000000000000000000000000'
4
+ :plaintext_hex: '00000000000000000000000000000000'
5
+ :ciphertext_hex: dcc07b8dfb0738d6e30a22dfcf27e886
6
+ - :algorithm: :mars
7
+ :key_hex: '00000000000000000000000000000000'
8
+ :plaintext_hex: dcc07b8dfb0738d6e30a22dfcf27e886
9
+ :ciphertext_hex: 33caffbddc7f1dda0f9c15fa2f30e2ff
10
+ - :algorithm: :mars
11
+ :key_hex: cb14a1776abbc1cdafe7243def2cea02
12
+ :plaintext_hex: f94512a9b42d034ec4792204d708a69b
13
+ :ciphertext_hex: 225da2cb64b73f79069f21a5e3cb8522
14
+ - :algorithm: :mars
15
+ :key_hex: 86edf4da31824cabef6a4637c40b0bab
16
+ :plaintext_hex: 4df955ad5b398d66408d620a2b27e1a9
17
+ :ciphertext_hex: a4b737340ae6d2cafd930ba97d86129f
18
+ - :algorithm: :mars
19
+ :key_hex: '000000000000000000000000000000000000000000000000'
20
+ :plaintext_hex: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
21
+ :ciphertext_hex: 97778747d60e425c2b4202599db856fb
22
+ - :algorithm: :mars
23
+ :key_hex: d158860838874d9500000000000000000000000000000000
24
+ :plaintext_hex: 93a953a82c10411dd158860838874d95
25
+ :ciphertext_hex: 4fa0e5f64893131712f01408d233e9f7
26
+ - :algorithm: :mars
27
+ :key_hex: 791739a58b04581a93a953a82c10411dd158860838874d95
28
+ :plaintext_hex: 6761c42d3e6142d2a84fbfadb383158f
29
+ :ciphertext_hex: f706bc0fd97e28b6f1af4e17d8755fff
30
+ - :algorithm: :mars
31
+ :key_hex: '0000000000000000000000000000000000000000000000000000000000000000'
32
+ :plaintext_hex: 62e45b4cf3477f1dd65063729d9aba8f
33
+ :ciphertext_hex: 0f4b897ea014d21fbc20f1054a42f719
34
+ - :algorithm: :mars
35
+ :key_hex: fba167983e7aef22317ce28c02aae1a3e8e5cc3cedbea82a99dbc39ad65e7227
36
+ :plaintext_hex: 1344aba4d3c44708a8a72116d4f49384
37
+ :ciphertext_hex: 458335d95ea42a9f4dccd41aecc2390d
@@ -0,0 +1,11 @@
1
+ ---
2
+ - :algorithm: :panama_le
3
+ :key_hex: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
4
+ :plaintext_hex: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
5
+ :iv_hex: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
6
+ :ciphertext_hex: f07f5ff2ccd01a0a7d44acd6d239c2af0da1ff35275baf5dfa6e09411b79d8b9
7
+ - :algorithm: :panama_be
8
+ :key_hex: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
9
+ :plaintext_hex: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
10
+ :iv_hex: 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
11
+ :ciphertext_hex: e12e2f6ba41ae832d888da9fa6863bc37c0e996f190a1711330322d37bd98ca4
@@ -0,0 +1,49 @@
1
+ ---
2
+ - :algorithm: :rc2
3
+ :key_length: '8'
4
+ :effective_key_length: '63'
5
+ :key_hex: '0000000000000000'
6
+ :plaintext_hex: '0000000000000000'
7
+ :ciphertext_hex: ebb773f993278eff
8
+ - :algorithm: :rc2
9
+ :key_length: '8'
10
+ :effective_key_length: '64'
11
+ :key_hex: ffffffffffffffff
12
+ :plaintext_hex: ffffffffffffffff
13
+ :ciphertext_hex: 278b27e42e2f0d49
14
+ - :algorithm: :rc2
15
+ :key_length: '8'
16
+ :effective_key_length: '64'
17
+ :key_hex: '3000000000000000'
18
+ :plaintext_hex: '1000000000000001'
19
+ :ciphertext_hex: 30649edf9be7d2c2
20
+ - :algorithm: :rc2
21
+ :key_length: '1'
22
+ :effective_key_length: '64'
23
+ :key_hex: '88'
24
+ :plaintext_hex: '0000000000000000'
25
+ :ciphertext_hex: 61a8a244adacccf0
26
+ - :algorithm: :rc2
27
+ :key_length: '7'
28
+ :effective_key_length: '64'
29
+ :key_hex: 88bca90e90875a
30
+ :plaintext_hex: '0000000000000000'
31
+ :ciphertext_hex: 6ccf4308974c267f
32
+ - :algorithm: :rc2
33
+ :key_length: '16'
34
+ :effective_key_length: '64'
35
+ :key_hex: 88bca90e90875a7f0f79c384627bafb2
36
+ :plaintext_hex: '0000000000000000'
37
+ :ciphertext_hex: 1a807d272bbe5db1
38
+ - :algorithm: :rc2
39
+ :key_length: '16'
40
+ :effective_key_length: '128'
41
+ :key_hex: 88bca90e90875a7f0f79c384627bafb2
42
+ :plaintext_hex: '0000000000000000'
43
+ :ciphertext_hex: 2269552ab0f85ca6
44
+ - :algorithm: :rc2
45
+ :key_length: '33'
46
+ :effective_key_length: '129'
47
+ :key_hex: 88bca90e90875a7f0f79c384627bafb216f80a6f85920584c42fceb0be255daf1e
48
+ :plaintext_hex: '0000000000000000'
49
+ :ciphertext_hex: 5b78d3a43dfff1f1
@@ -0,0 +1,26 @@
1
+ ---
2
+ - :algorithm: :rc5
3
+ :key_hex: '00000000000000000000000000000000'
4
+ :plaintext_hex: '0000000000000000'
5
+ :ciphertext_hex: 21a5dbee154b8f6d
6
+ :rounds: '12'
7
+ - :algorithm: :rc5
8
+ :key_hex: 915f4619be41b2516355a50110a9ce91
9
+ :plaintext_hex: 21a5dbee154b8f6d
10
+ :ciphertext_hex: f7c013ac5b2b8952
11
+ :rounds: '12'
12
+ - :algorithm: :rc5
13
+ :key_hex: 783348e75aeb0f2fd7b169bb8dc16787
14
+ :plaintext_hex: f7c013ac5b2b8952
15
+ :ciphertext_hex: 2f42b3b70369fc92
16
+ :rounds: '12'
17
+ - :algorithm: :rc5
18
+ :key_hex: dc49db1375a5584f6485b413b5f12baf
19
+ :plaintext_hex: 2f42b3b70369fc92
20
+ :ciphertext_hex: 65c178b284d197cc
21
+ :rounds: '12'
22
+ - :algorithm: :rc5
23
+ :key_hex: 5269f149d41ba0152497574d7f153125
24
+ :plaintext_hex: 65c178b284d197cc
25
+ :ciphertext_hex: eb44e415da319824
26
+ :rounds: '12'
@@ -0,0 +1,25 @@
1
+ ---
2
+ - :algorithm: :rc6
3
+ :key_hex: '00000000000000000000000000000000'
4
+ :plaintext_hex: '00000000000000000000000000000000'
5
+ :ciphertext_hex: 8fc3a53656b1f778c129df4e9848a41e
6
+ - :algorithm: :rc6
7
+ :key_hex: 0123456789abcdef0112233445566778
8
+ :plaintext_hex: 02132435465768798a9bacbdcedfe0f1
9
+ :ciphertext_hex: 524e192f4715c6231f51f6367ea43f18
10
+ - :algorithm: :rc6
11
+ :key_hex: '000000000000000000000000000000000000000000000000'
12
+ :plaintext_hex: '00000000000000000000000000000000'
13
+ :ciphertext_hex: 6cd61bcb190b30384e8a3f168690ae82
14
+ - :algorithm: :rc6
15
+ :key_hex: 0123456789abcdef0112233445566778899aabbccddeeff0
16
+ :plaintext_hex: 02132435465768798a9bacbdcedfe0f1
17
+ :ciphertext_hex: 688329d019e505041e52e92af95291d4
18
+ - :algorithm: :rc6
19
+ :key_hex: '0000000000000000000000000000000000000000000000000000000000000000'
20
+ :plaintext_hex: '00000000000000000000000000000000'
21
+ :ciphertext_hex: 8f5fbd0510d15fa893fa3fda6e857ec2
22
+ - :algorithm: :rc6
23
+ :key_hex: 0123456789abcdef0112233445566778899aabbccddeeff01032547698badcfe
24
+ :plaintext_hex: 02132435465768798a9bacbdcedfe0f1
25
+ :ciphertext_hex: c8241816f0d7e48920ad16a1674e5d48
@@ -0,0 +1,37 @@
1
+ ---
2
+ - :algorithm: :aes
3
+ :key_hex: 000102030405060708090a0b0c0d0e0f
4
+ :plaintext_hex: 000102030405060708090a0b0c0d0e0f
5
+ :ciphertext_hex: 0a940bb5416ef045f1c39458c653ea5a
6
+ - :algorithm: :aes
7
+ :key_hex: 00010203050607080a0b0c0d0f101112
8
+ :plaintext_hex: 506812a45f08c889b97f5980038b8359
9
+ :ciphertext_hex: d8f532538289ef7d06b506a4fd5be9c9
10
+ - :algorithm: :aes
11
+ :key_hex: 14151617191a1b1c1e1f202123242526
12
+ :plaintext_hex: 5c6d71ca30de8b8b00549984d2ec7d4b
13
+ :ciphertext_hex: 59ab30f4d4ee6e4ff9907ef65b1fb68c
14
+ - :algorithm: :aes
15
+ :key_hex: 28292a2b2d2e2f30323334353738393a
16
+ :plaintext_hex: 53f3f4c64f8616e4e7c56199f48f21f6
17
+ :ciphertext_hex: bf1ed2fcb2af3fd41443b56d85025cb1
18
+ - :algorithm: :aes
19
+ :key_hex: 00010203050607080a0b0c0d0f10111214151617191a1b1c
20
+ :plaintext_hex: 2d33eef2c0430a8a9ebf45e809c40bb6
21
+ :ciphertext_hex: dff4945e0336df4c1c56bc700eff837f
22
+ - :algorithm: :aes
23
+ :key_hex: 1e1f20212324252628292a2b2d2e2f30323334353738393a
24
+ :plaintext_hex: 6aa375d1fa155a61fb72353e0a5a8756
25
+ :ciphertext_hex: b6fddef4752765e347d5d2dc196d1252
26
+ - :algorithm: :aes
27
+ :key_hex: 3c3d3e3f41424344464748494b4c4d4e5051525355565758
28
+ :plaintext_hex: bc3736518b9490dcb8ed60eb26758ed4
29
+ :ciphertext_hex: d23684e3d963b3afcf1a114aca90cbd6
30
+ - :algorithm: :aes
31
+ :key_hex: 00010203050607080a0b0c0d0f10111214151617191a1b1c1e1f202123242526
32
+ :plaintext_hex: 834eadfccac7e1b30664b1aba44815ab
33
+ :ciphertext_hex: 1946dabf6a03a2a2c3d0b05080aed6fc
34
+ - :algorithm: :aes
35
+ :key_hex: 28292a2b2d2e2f30323334353738393a3c3d3e3f41424344464748494b4c4d4e
36
+ :plaintext_hex: d9dc4dba3021b05d67c0518f72b62bf1
37
+ :ciphertext_hex: 5ed301d747d3cc715445ebdec62f2fb4
@@ -0,0 +1,77 @@
1
+ ---
2
+ - :algorithm: :safer_k
3
+ :key_hex: '0000000000000000'
4
+ :plaintext_hex: '0000000000000000'
5
+ :ciphertext_hex: 032808c90ee7ab7f
6
+ - :algorithm: :safer_k
7
+ :key_hex: '0000000000000000'
8
+ :plaintext_hex: 0102030405060708
9
+ :ciphertext_hex: 7d28038633b92eb4
10
+ - :algorithm: :safer_k
11
+ :key_hex: 0102030405060708
12
+ :plaintext_hex: '1011121314151617'
13
+ :ciphertext_hex: 71e5cf7f083a59c5
14
+ - :algorithm: :safer_k
15
+ :key_hex: 0102030405060708
16
+ :plaintext_hex: 18191a1b1c1d1e1f
17
+ :ciphertext_hex: 356f702cc7fa8161
18
+ - :algorithm: :safer_k
19
+ :key_hex: 08070605040302010807060504030201
20
+ :plaintext_hex: '5051525354555657'
21
+ :ciphertext_hex: 38e64dbf6e0f896e
22
+ :rounds: '12'
23
+ - :algorithm: :safer_k
24
+ :key_hex: 08070605040302010807060504030201
25
+ :plaintext_hex: 58595a5b5c5d5e5f
26
+ :ciphertext_hex: 7d8f014a902480fe
27
+ :rounds: '12'
28
+ - :algorithm: :safer_k
29
+ :key_hex: 01020304050607080807060504030201
30
+ :plaintext_hex: '6061626364656667'
31
+ :ciphertext_hex: 113511c22e7936df
32
+ :rounds: '12'
33
+ - :algorithm: :safer_k
34
+ :key_hex: 01020304050607080807060504030201
35
+ :plaintext_hex: 68696a6b6c6d6e6f
36
+ :ciphertext_hex: 9eeb2d17c0581437
37
+ :rounds: '12'
38
+ - :algorithm: :safer_sk
39
+ :key_hex: '0000000000000001'
40
+ :plaintext_hex: '7071727374757677'
41
+ :ciphertext_hex: 9abe2c85be2d7614
42
+ :rounds: '6'
43
+ - :algorithm: :safer_sk
44
+ :key_hex: '0000000000000001'
45
+ :plaintext_hex: 78797a7b7c7d7e7f
46
+ :ciphertext_hex: ebc4a9c6c25cf215
47
+ :rounds: '6'
48
+ - :algorithm: :safer_sk
49
+ :key_hex: 0102030405060708
50
+ :plaintext_hex: '8081828384858687'
51
+ :ciphertext_hex: 54e72ba2d744c566
52
+ :rounds: '6'
53
+ - :algorithm: :safer_sk
54
+ :key_hex: 0102030405060708
55
+ :plaintext_hex: 88898a8b8c8d8e8f
56
+ :ciphertext_hex: 57f55d0f7eb6f8fe
57
+ :rounds: '6'
58
+ - :algorithm: :safer_sk
59
+ :key_hex: '00000000000000010000000000000001'
60
+ :plaintext_hex: '9091929394959697'
61
+ :ciphertext_hex: 9eaa4df1e0eff445
62
+ :rounds: '10'
63
+ - :algorithm: :safer_sk
64
+ :key_hex: '00000000000000010000000000000001'
65
+ :plaintext_hex: 98999a9b9c9d9e9f
66
+ :ciphertext_hex: 4cc14838399e532d
67
+ :rounds: '10'
68
+ - :algorithm: :safer_sk
69
+ :key_hex: 01020304050607080000000000000000
70
+ :plaintext_hex: a0a1a2a3a4a5a6a7
71
+ :ciphertext_hex: 41246b65f1dc6afa
72
+ :rounds: '10'
73
+ - :algorithm: :safer_sk
74
+ :key_hex: 00000000000000000102030405060708
75
+ :plaintext_hex: a0a1a2a3a4a5a6a7
76
+ :ciphertext_hex: 5cbd77b03626fe3b
77
+ :rounds: '10'
@@ -0,0 +1,6 @@
1
+ ---
2
+ - :algorithm: :seal
3
+ :key_hex: 67452301efcdab8998badcfe10325476c3d2e1f0
4
+ :plaintext_hex: 37a005959b84c49ca4be1e050673530f5fb097fdf6a13fbd6c2cdecd81fdee7c
5
+ :iv_hex: 013577af
6
+ :ciphertext_hex: '0000000000000000000000000000000000000000000000000000000000000000'
@@ -0,0 +1,37 @@
1
+ ---
2
+ - :algorithm: :serpent
3
+ :key_hex: '00000000000000000000000000000000'
4
+ :plaintext_hex: d29d576fcea3a3a7ed9099f29273d78e
5
+ :ciphertext_hex: b2288b968ae8b08648d1ce9606fd992d
6
+ - :algorithm: :serpent
7
+ :key_hex: '00000000000000000000000000000000'
8
+ :plaintext_hex: d29d576fcea3a3a7ed9099f26d8c2871
9
+ :ciphertext_hex: 563a8403ff5309d62370b1dcf5a11edd
10
+ - :algorithm: :serpent
11
+ :key_hex: ffeeddccbbaa99887766554433221100
12
+ :plaintext_hex: 1032547698badcfeefcdab8967452301
13
+ :ciphertext_hex: d5baa00a4bb9d8a7c981c8dc90d89d92
14
+ - :algorithm: :serpent
15
+ :key_hex: ffeeddccbbaa99887766554433221100
16
+ :plaintext_hex: 145f0b8b663176b95dcab7e9dcd5cc24
17
+ :ciphertext_hex: 1032547698badcfeefcdab8967452301
18
+ - :algorithm: :serpent
19
+ :key_hex: '000000000000000000000000000000000000000000000000'
20
+ :plaintext_hex: d29d576fceaba3a7ed9899f2927bd78e
21
+ :ciphertext_hex: 130e353e1037c22405e8faefb2c3c3e9
22
+ - :algorithm: :serpent
23
+ :key_hex: 8899aabbccddeeffffeeddccbbaa99887766554433221100
24
+ :plaintext_hex: 1032547698badcfeefcdab8967452301
25
+ :ciphertext_hex: da860842b720802bf404a4c71034879a
26
+ - :algorithm: :serpent
27
+ :key_hex: 8899aabbccddeeffffeeddccbbaa99887766554433221100
28
+ :plaintext_hex: b2696bd0d98c17953e4239225d27202c
29
+ :ciphertext_hex: 1032547698badcfeefcdab8967452301
30
+ - :algorithm: :serpent
31
+ :key_hex: '0000000000000000000000000000000000000000000000000000000000000000'
32
+ :plaintext_hex: 92074732d84e1841a013a0034c52bf50
33
+ :ciphertext_hex: 81c4eb7b8ad9a8d0f2aa5d7bd626b560
34
+ - :algorithm: :serpent
35
+ :key_hex: 00112233445566778899aabbccddeeffffeeddccbbaa99887766554433221100
36
+ :plaintext_hex: 1032547698badcfeefcdab8967452301
37
+ :ciphertext_hex: 93df9a3cafe387bd999eebe393a17fca
@@ -0,0 +1,21 @@
1
+ ---
2
+ - :algorithm: :shacal2
3
+ :key_hex: '80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
4
+ :plaintext_hex: '0000000000000000000000000000000000000000000000000000000000000000'
5
+ :ciphertext_hex: 361ab6322fa9e7a7bb23818d839e01bddafdf47305426edd297aedb9f6202bae
6
+ - :algorithm: :shacal2
7
+ :key_hex: '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
8
+ :plaintext_hex: '8000000000000000000000000000000000000000000000000000000000000000'
9
+ :ciphertext_hex: 2cae7c0460ee2fc3200923a1b6c2abeea746c8b44f6c3fb941bd3af02a3e6e3e
10
+ - :algorithm: :shacal2
11
+ :key_hex: '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
12
+ :plaintext_hex: '0000000000000000000000000000000000000000000000000000000000000000'
13
+ :ciphertext_hex: 7ca51614425c3ba8ce54dd2fc2020ae7b6e574d198136d0fae7e26ccbf0be7a6
14
+ - :algorithm: :shacal2
15
+ :key_hex: '24242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424'
16
+ :plaintext_hex: '2424242424242424242424242424242424242424242424242424242424242424'
17
+ :ciphertext_hex: 9766d3f9e73987ee10a20605c8338c0759a7024cf2df549de5084ec4902c550a
18
+ - :algorithm: :shacal2
19
+ :key_hex: fefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
20
+ :plaintext_hex: fefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe
21
+ :ciphertext_hex: 5dc15c83e7c4f5aaf8d8482ed1e443271b28b59288783dbcddec3544e3368a6e