You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behaviour
No error, and an attempt to decrypt/encrypt the input
Additional context
I looked at the code and it only checks for length 8 bytes
if(key.length!==8){thrownewOperationError(`Invalid key length: ${key.length} bytesDES uses a key length of 8 bytes (64 bits).Triple DES uses a key length of 24 bytes (192 bits).`);}
The text was updated successfully, but these errors were encountered:
Describe the bug
Trying to use a triple-length key I get the error:
Invalid key length: 24 bytes
DES uses a key length of 8 bytes (64 bits).
Triple DES uses a key length of 24 bytes (192 bits).
To Reproduce
Link to recipe
Expected behaviour
No error, and an attempt to decrypt/encrypt the input
Additional context
I looked at the code and it only checks for length 8 bytes
The text was updated successfully, but these errors were encountered: