mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-26 17:56:15 -04:00
Added length check to Triple DES IVs
This commit is contained in:
parent
011dc09d5e
commit
be365f66ef
5 changed files with 18 additions and 4 deletions
|
@ -943,10 +943,10 @@ smothering ampersand abreast
|
|||
chef.tripleDESDecrypt(
|
||||
chef.tripleDESEncrypt("Destroy Money", {
|
||||
key: {string: "30 31 2f 30 34 2f 31 39 39 39 20 32 32 3a 33 33 3a 30 3130 31 2f 30 34", option: "Hex"},
|
||||
iv: {string: "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000 00 00 00 00", option: "Hex"}}),
|
||||
iv: {string: "00 00 00 00 00 00 00 00", option: "Hex"}}),
|
||||
{
|
||||
key: {string: "30 31 2f 30 34 2f 31 39 39 39 20 32 32 3a 33 33 3a 30 3130 31 2f 30 34", option: "Hex"},
|
||||
iv: {string: "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0000 00 00 00 00", option: "Hex"}
|
||||
iv: {string: "00 00 00 00 00 00 00 00", option: "Hex"}
|
||||
}).toString(),
|
||||
"Destroy Money");
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue