How to decipher string in node js which is encrypted in crypto js in javascript
CryptoJS’ encrypt function with a password uses the same EVP_BytesToKey function node.js’ createCipher, with the important difference that CryptoJS uses a random salt to derive whereas node does not (emphasis mine): Note: createCipher derives keys with the OpenSSL function EVP_BytesToKey with the digest algorithm set to MD5, one iteration, and no salt. Either you directly … Read more