You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Used the sample code:
var encrypted = CryptoJS.AES.encrypt("Message", "Secret Passphrase", { mode:
CryptoJS.mode.CFB, padding: CryptoJS.pad.AnsiX923 });
What is the expected output? What do you see instead?
I should get back an encrypted message. I got an error.
In Chrome (version 35.0.1916.153 m) the error is (with stack trace):
Uncaught TypeError: Cannot read property 'createEncryptor' of undefined
aes.js:27
d.BlockCipher.v.extend.reset aes.js:27
d.Cipher.t.extend.init aes.js:24
c.hasOwnProperty.c.init aes.js:7
c.hasOwnProperty.c.init aes.js:7
c.hasOwnProperty.c.init aes.js:7
l.Base.create aes.js:7
d.Cipher.t.extend.createEncryptor aes.js:24
d.SerializableCipher.l.extend.encrypt aes.js:29
d.PasswordBasedCipher.a.extend.encrypt aes.js:31
encrypt aes.js:25
AESDecrypt main.js:88
onclick
In Firefox (version 30.0) I got:
TypeError: a is undefined aes.js:27
What version of the product are you using? On what operating system?
3.1.2, on Windows 8.
Please provide any additional information below.
Original issue reported on code.google.com by yook...@gmail.com on 16 Jul 2014 at 5:49
The text was updated successfully, but these errors were encountered:
To accurately reproduce the problem, can your sample code also show the JS
files you're including? Because, for example, the mode and padding you're using
are not included in the AES rollup.
Original comment by Jeff.Mott.OR on 16 Jul 2014 at 6:10
Original issue reported on code.google.com by
yook...@gmail.com
on 16 Jul 2014 at 5:49The text was updated successfully, but these errors were encountered: