Grammar typo
This commit is contained in:
parent
9e17825b53
commit
81605b2222
@ -73,7 +73,7 @@ class BlowfishDecrypt extends Operation {
|
|||||||
if (key.length < 4 || key.length > 56) {
|
if (key.length < 4 || key.length > 56) {
|
||||||
throw new OperationError(`Invalid key length: ${key.length} bytes
|
throw new OperationError(`Invalid key length: ${key.length} bytes
|
||||||
|
|
||||||
Blowfish's key length needs to between 4 and 56 bytes (32-448 bits).`);
|
Blowfish's key length needs to be between 4 and 56 bytes (32-448 bits).`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (iv.length !== 8) {
|
if (iv.length !== 8) {
|
||||||
|
|||||||
@ -73,7 +73,7 @@ class BlowfishEncrypt extends Operation {
|
|||||||
if (key.length < 4 || key.length > 56) {
|
if (key.length < 4 || key.length > 56) {
|
||||||
throw new OperationError(`Invalid key length: ${key.length} bytes
|
throw new OperationError(`Invalid key length: ${key.length} bytes
|
||||||
|
|
||||||
Blowfish's key length needs to between 4 and 56 bytes (32-448 bits).`);
|
Blowfish's key length needs to be between 4 and 56 bytes (32-448 bits).`);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (iv.length !== 8) {
|
if (iv.length !== 8) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user