Skip to content
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

AES encryption fails for long strings #37

Closed
GoogleCodeExporter opened this issue Apr 3, 2015 · 2 comments
Closed

AES encryption fails for long strings #37

GoogleCodeExporter opened this issue Apr 3, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Let's say long_string is a 1 MB string. I am getting the following error:

CryptoJS.AES.encrypt(long_string, "Secret Passphrase");
RangeError: Maximum call stack size exceeded

Encryption works properly up to about 400 KB strings.

Original issue reported on code.google.com by thomas...@gmail.com on 15 May 2012 at 5:10

@GoogleCodeExporter
Copy link
Author

Original comment by Jeff.Mott.OR on 15 May 2012 at 5:26

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Fixed in r499.

Original comment by Jeff.Mott.OR on 15 May 2012 at 7:02

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant