Crypto js is not able to decrypt the encoded string. Whereas in one online platform I can see it is able to decode
var CryptoJS = require("crypto