DES Encryption: Check Length of IV

Encryption operation now checks the length of the IV.  Also changed test to use utf8 instead of HEX because the hex string wasn't valid.
This commit is contained in:
Storms-Engineering 2019-10-12 08:44:39 -08:00
parent 7a3ca027bb
commit b785f4482a
3 changed files with 7 additions and 4 deletions

View file

@ -415,7 +415,7 @@ color: white;
},
iv: {
string: "threetwo",
option: "Hex",
option: "utf8",
},
mode: "ECB",
});