cuing / crypto-js

Automatically exported from code.google.com/p/crypto-js
0 stars 0 forks source link

AES encryption fails for long strings #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
Fixed in r499.

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