brix / crypto-js

JavaScript library of crypto standards.
Other
15.74k stars 2.38k forks source link

After upgrading from CryptoJS v4.1.1 to v4.2.0 UTF-8 malformed exception when attempting to decrypt text #478

Open jeebendu opened 10 months ago

jeebendu commented 10 months ago

After upgrading from CryptoJS v4.1.1 to v4.2.0, we are encountering a UTF-8 malformed exception when attempting to decrypt text that was previously encrypted and stored using the v4.1.1 version of CryptoJS with AES encryption.

Can any one help any changes to be done in key generation ?

chinedu360 commented 8 months ago

@jeebendu where you able to resolve this issue?

jeebendu commented 6 months ago

@chinedu360 Need to change your backend side Algorithm to match frontend

anisharya16 commented 2 weeks ago

i am also getting the same error.how to solve this issue?