mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-15 02:26:54 -04:00
Added DES test cases
This commit is contained in:
parent
99afd014f2
commit
0fce9ccced
2 changed files with 131 additions and 2 deletions
|
@ -68,7 +68,7 @@ class DESDecrypt extends Operation {
|
|||
* @returns {string}
|
||||
*/
|
||||
run(input, args) {
|
||||
const key = Utils.convertToByteString(args[0].string, args[0].option);
|
||||
var key = Utils.convertToByteString(args[0].string, args[0].option);
|
||||
var iv = Utils.convertToByteArray(args[1].string, args[1].option),
|
||||
[,, mode, inputType, outputType, keyPadding] = args;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue