Converted PBKDF2 and RC2, enabled tests, deleted legacy Cipher file

Also made DESDecrypt test pass
This commit is contained in:
Matt C 2018-05-23 18:31:26 +01:00
parent 46b8b2fa7e
commit 9ffab374db
6 changed files with 232 additions and 176 deletions

View file

@ -69,6 +69,7 @@ class DESDecrypt extends Operation {
if (key.length !== 8) {
return `Invalid key length: ${key.length} bytes
DES uses a key length of 8 bytes (64 bits).
Triple DES uses a key length of 24 bytes (192 bits).`;
}