What steps will reproduce the problem?
1.
/*** encrypt */
var ciphertext = Crypto.AES.encrypt("plaintext", "Secret Passphrase", { mode:
new Crypto.mode.CTR });
2.
/*** decrypt */
var plaintext = Crypto.AES.decrypt("ciphertext", "Secret Passphrase", { mode:
new Crypto.mode.CTR });
3.
/* outoput error: */
malformed URI sequence 6-a*2);return
j}};n=n.charenc={};n.UTF...rCode(f[b]));return
j.join("")}}})(); <- 2.4.0-...-aes.js (line 10)
What is the expected output?
// encrypt
ciphertext = "UCscqUZ5g%2BfhZD6LcLj5JzHjrIfxxYFIGgX%2F%2FCj24Rg%3D";
// decrypt
plaintext = "plaintext";
What do you see instead?
/* outoput error: */
malformed URI sequence 6-a*2);return
j}};n=n.charenc={};n.UTF...rCode(f[b]));return
j.join("")}}})(); <- 2.4.0-...-aes.js (line 10)
What version of the product are you using?
bug fixed in version 2.5.3
On what operating system?
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20100101
Firefox/10.0.2
Please provide any additional information below.
Documentation :
http://localhost/crypto/secretkey/doc/doc_aes_cryptojs.html
3 Dic 2011, 12:06 - [ Error encrypt / decrypt CTR ] bug fixed in version 2.5.3
http://groups.google.com/group/crypto-js/browse_thread/thread/6e9685b92c6ca99f?p
li=1
Original issue reported on code.google.com by MicheleR...@gmail.com on 12 Mar 2012 at 4:26
Original issue reported on code.google.com by
MicheleR...@gmail.com
on 12 Mar 2012 at 4:26