I have a problem with my script. while trying Crypto.JS
let bytes = CryptoJS.AES.decrypt('cipher', ENCRYPTKEY);
let decryptedData = JSON.parse(bytes.toString(CryptoJS.enc.Utf8));
it showing SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data.
please give me solution.
Thank you.