-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RangeError: Invalid array length #16
Comments
Hi i am trying to decrypt private key but i am getting this error /home/ahex/Desktop/tokenize.node/node_modules/crypto-js/core.js:272 RangeError: Invalid array length My code : var CryptoJS = require('crypto-js') var a = CryptoJS.AES.encrypt(SenderPrivateKey, cryptoSecret) |
The same problem |
1 similar comment
The same problem |
This error is triggered when you pass an object, rather than a string. |
It's 2020 and I still get the same problem |
Same problem here, even passing a simple string |
it's true.. |
When the same thing happened to me I "stringify"
|
For me this issue occurred due to the type So I did like this:
|
exacto! mi problema fue por pasar un parametro de tipo numero. Primero tuve que pasarlo a string para encriptarlo. |
No description provided.
The text was updated successfully, but these errors were encountered: