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
Hi,
I am new to JavaScript. I am encrypting a form using AES in JavaScript and when
I try to convert the encrypted string to base64 string, i get null string. From
base64 string, I need to convert to byte array which is the type for my
webmethod.
Please help me on this. Following is the code i tried so far.
var randomKey='12345'
var
encryptedString=CryptoJS.AES.encrypt(JSON.stringify(CurrentModel.serialize()).ra
mdomKey); //CurrentModel is the model from MVC
console.log(encryptedString); //outputs string
console.log($.base64.encode(encryptedString)); //null string
Original issue reported on code.google.com by [email protected] on 28 May 2014 at 6:52
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 28 May 2014 at 6:52The text was updated successfully, but these errors were encountered: