-
Notifications
You must be signed in to change notification settings - Fork 70
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
key length issue in crypto.encrypt API #36
Comments
On Oct 31, 2014 3:28 PM, "kpushpad" [email protected] wrote:
This is not a bug, it's a feature (of most ciphers) - the key has a certain The standard aproach is to first hash the password with a 128 bit (160, |
I am using crypto.encrypt("AES128", text, key) API to encrypt our data. But whenever i pass key whose size is more than 32 bytes/char it say invalid key.
Is there anyway i can pass longer keys ? or this is a bug ?
The text was updated successfully, but these errors were encountered: