CryptoJS / OpenSSL Interoperability Check

Tested Versions

Library Version
CryptoJS (via npm) 3.1.9-1
OpenSSL (via Ubuntu 1.1.1f
LibreSSL (via Mac) 2.8.3

Sources

https://stackblitz.com/edit/cryptojs-aes-encrypt-decrypt?file=index.js https://gitlab.com/-/snippets/2157755 https://gist.github.com/daniellittledev/f53cf6a5e571a84a358e https://stackoverflow.com/questions/19161716/bad-magic-number-error-when-trying-to-decrypt-file-in-openssl#:~:text=The%20only%20way%20OpenSSL%20will,characters%20are%20indeed%20Salted__%20. https://eclipsesource.com/blogs/2017/01/17/tutorial-aes-encryption-and-decryption-with-openssl/#:~:text=AES%20(Advanced%20Encryption%20Standard)%20is,plaintext%20and%20decryption%20of%20ciphertext. https://stackoverflow.com/questions/69934896/use-crypto-js-with-openssl