Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify tests to use Symbols instead of constants.
- Loading branch information
1 parent
e3f67a4
commit 272921b
Showing
38 changed files
with
428 additions
and
433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
fields key_hex plaintext_hex ciphertext_hex | ||
algorithm cipher DES_EDE2 | ||
test 0123456789abcdeffedcba9876543210 0123456789abcde7 7f1d0a77826b8aff | ||
algorithm cipher DES_EDE3 | ||
test 0123456789abcdeffedcba987654321089abcdef01234567 0123456789abcde7 de0b7c06ae5e0ed5 | ||
algorithm cipher DES_XEX3 | ||
test 0123456789abcdef01010101010101011011121314151617 94dbe082549a14ef 9011121314151617 | ||
fields key_hex plaintext_hex ciphertext_hex | ||
algorithm cipher des_ede2 | ||
test 0123456789abcdeffedcba9876543210 0123456789abcde7 7f1d0a77826b8aff | ||
algorithm cipher des_ede3 | ||
test 0123456789abcdeffedcba987654321089abcdef01234567 0123456789abcde7 de0b7c06ae5e0ed5 | ||
algorithm cipher des_xex3 | ||
test 0123456789abcdef01010101010101011011121314151617 94dbe082549a14ef 9011121314151617 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
algorithm cipher THREEWAY | ||
fields key_hex plaintext_hex ciphertext_hex | ||
test 000000000000000000000000 000000010000000100000001 4059c76e83ae9dc4ad21ecf7 | ||
test 000000060000000500000004 000000030000000200000001 d2f05b5ed6144138cab920cd | ||
test def01234456789abbcdef012 234567899abcdef001234567 0aa55dbb9cdddb6d7cdb76b2 | ||
test d2f05b5ed6144138cab920cd 4059c76e83ae9dc4ad21ecf7 478ea8716b13f17c15b155ed | ||
algorithm cipher threeway | ||
fields key_hex plaintext_hex ciphertext_hex | ||
test 000000000000000000000000 000000010000000100000001 4059c76e83ae9dc4ad21ecf7 | ||
test 000000060000000500000004 000000030000000200000001 d2f05b5ed6144138cab920cd | ||
test def01234456789abbcdef012 234567899abcdef001234567 0aa55dbb9cdddb6d7cdb76b2 | ||
test d2f05b5ed6144138cab920cd 4059c76e83ae9dc4ad21ecf7 478ea8716b13f17c15b155ed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
algorithm cipher ARC4 | ||
algorithm cipher arc4 | ||
fields key_hex plaintext_hex ciphertext_hex_cont | ||
test 0123456789abcdef 0123456789abcdef 75b7878099e0c596 | ||
test 0123456789abcdef 0000000000000000 7494c2e7104b0879 | ||
test 0000000000000000 0000000000000000 de188941a3375d3a | ||
test ef012345 00000000000000000000 d6a141a7ec3c38dfbd61 | ||
fields key_hex plaintext_hex plaintext_repeat ciphertext_hex_cont | ||
test 0123456789abcdef 01 512 7595c3e6114a09780c4ad452338e1ffd9a1be949 8f813d76533449b6778dcad8c78a8d2ba9ac6608 5d0e53d59c26c2d1c490c1ebbe0ce66d1b6b1b13 b6b919b847c25a91447a95e75e4ef16779cde8bf 0a95850e32af9689444fd377108f98fdcbd4e726 567500990bcc7e0ca3c4aaa304a387d20f3b8fbb cd42a1bd311d7a4303dda5ab078896ae80c18b0a f66dff319616eb784e495ad2ce90d7f772a81747 b65f62093b1e0db9e5ba532fafec47508323e671 327df9444432cb7367cec82f5d44c0d00b67d650 a075cd4b70dedd77eb9b10231b6b5b741347396d 62897421d43df9b42e446e358e9c11a9b2184ecb ef0cd8e7a877ef968f1390ec9b3d35a5585cb009 290e2fcde7b5ec66d9084be44055a619d9dd7fc3 166f9487f7cb272912426445998514c15d53a18c 864ce3a2b7555793988126520eacf2e3066e230c 91bee4dd5304f5fd0405b35bd99c73135d3d9bc3 35ee049ef69b3867bf2d7bd1eaa595d8bfc0066f f8d31509eb0c6caa006c807a623ef84c3d33c195 d23ee320c40de0558157c822d4b8c569d849aed5 9d4e0fd7f379586b4b7ff684ed6a189f7486d49b 9c4bad9ba24b96abf924372c8a8fffb10d553549 00a77a3db5f205e1b99fcd8660863a159ad4abe4 0fa48934163ddde542a6585540fd683cbfd8c00f 12129a284deacc4cdefe58be7137541c047126c8 d49e2755ab181ab7e940b0c0 | ||
test 0123456789abcdef 01 512 7595c3e6114a09780c4ad452338e1ffd9a1be949 8f813d76533449b6778dcad8c78a8d2ba9ac6608 5d0e53d59c26c2d1c490c1ebbe0ce66d1b6b1b13 b6b919b847c25a91447a95e75e4ef16779cde8bf 0a95850e32af9689444fd377108f98fdcbd4e726 567500990bcc7e0ca3c4aaa304a387d20f3b8fbb cd42a1bd311d7a4303dda5ab078896ae80c18b0a f66dff319616eb784e495ad2ce90d7f772a81747 b65f62093b1e0db9e5ba532fafec47508323e671 327df9444432cb7367cec82f5d44c0d00b67d650 a075cd4b70dedd77eb9b10231b6b5b741347396d 62897421d43df9b42e446e358e9c11a9b2184ecb ef0cd8e7a877ef968f1390ec9b3d35a5585cb009 290e2fcde7b5ec66d9084be44055a619d9dd7fc3 166f9487f7cb272912426445998514c15d53a18c 864ce3a2b7555793988126520eacf2e3066e230c 91bee4dd5304f5fd0405b35bd99c73135d3d9bc3 35ee049ef69b3867bf2d7bd1eaa595d8bfc0066f f8d31509eb0c6caa006c807a623ef84c3d33c195 d23ee320c40de0558157c822d4b8c569d849aed5 9d4e0fd7f379586b4b7ff684ed6a189f7486d49b 9c4bad9ba24b96abf924372c8a8fffb10d553549 00a77a3db5f205e1b99fcd8660863a159ad4abe4 0fa48934163ddde542a6585540fd683cbfd8c00f 12129a284deacc4cdefe58be7137541c047126c8 d49e2755ab181ab7e940b0c0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
algorithm cipher BLOWFISH | ||
algorithm cipher blowfish | ||
fields key plaintext ciphertext_hex | ||
test abcdefghijklmnopqrstuvwxyz BLOWFISH 324ed0fef413a203 | ||
fields key plaintext_hex ciphertext_hex | ||
test Who is John Galt? fedcba9876543210 cc91732b8022f684 | ||
test Who is John Galt? fedcba9876543210 cc91732b8022f684 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
algorithm cipher CAMELLIA | ||
algorithm cipher camellia | ||
fields key_hex plaintext_hex ciphertext_hex | ||
test 80000000000000000000000000000000 00000000000000000000000000000000 6c227f749319a3aa7da235a9bba05a2c | ||
test 00000000000000000000000000000000 80000000000000000000000000000000 07923a39eb0a817d1c4d87bdb82d1f1c | ||
test 00000000000000000000000000000000 00000000000000000000000000000000 3d028025b156327c17f762c1f2cbca71 | ||
test a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5 a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5a5 1f55093c234648c5c9c781e8c9fd42c4 | ||
test fefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe fefefefefefefefefefefefefefefefe acdbb0f5a00e3cf63a89d9c09b44a058 | ||
test fefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefe fefefefefefefefefefefefefefefefe acdbb0f5a00e3cf63a89d9c09b44a058 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
algorithm cipher CAST128 | ||
fields key_hex plaintext_hex ciphertext_hex | ||
test 0123456712345678234567893456789a 0123456789abcdef 238b4fe5847e44b2 | ||
test 01234567123456782345 0123456789abcdef eb6a711a2c02271b | ||
test 0123456712 0123456789abcdef 7ac816d16e9b302e | ||
algorithm cipher cast128 | ||
fields key_hex plaintext_hex ciphertext_hex | ||
test 0123456712345678234567893456789a 0123456789abcdef 238b4fe5847e44b2 | ||
test 01234567123456782345 0123456789abcdef eb6a711a2c02271b | ||
test 0123456712 0123456789abcdef 7ac816d16e9b302e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
algorithm cipher CAST256 | ||
fields key_hex plaintext_hex ciphertext_hex | ||
test 2342bb9efa38542c0af75647f29f615d 00000000000000000000000000000000 c842a08972b43d20836c91d1b7530f6b | ||
test 2342bb9efa38542cbed0ac83940ac298bac77a7717942863 00000000000000000000000000000000 1b386c0210dcadcbdd0e41aa08a7a7e8 | ||
test 2342bb9efa38542cbed0ac83940ac2988d7c47ce264908461cc1b5137ae6b604 00000000000000000000000000000000 4f6a2038286897b9c9870136553317fa | ||
algorithm cipher cast256 | ||
fields key_hex plaintext_hex ciphertext_hex | ||
test 2342bb9efa38542c0af75647f29f615d 00000000000000000000000000000000 c842a08972b43d20836c91d1b7530f6b | ||
test 2342bb9efa38542cbed0ac83940ac298bac77a7717942863 00000000000000000000000000000000 1b386c0210dcadcbdd0e41aa08a7a7e8 | ||
test 2342bb9efa38542cbed0ac83940ac2988d7c47ce264908461cc1b5137ae6b604 00000000000000000000000000000000 4f6a2038286897b9c9870136553317fa |
Oops, something went wrong.