entronad / crypto-es

A cryptography algorithms library
Other
272 stars 30 forks source link

not working with openssl #20

Closed iwater closed 1 year ago

iwater commented 3 years ago

OpenSSL 1.1.1i

openssl enc -aes-256-cbc -in infile -out outfile -pass pass:"Secret Passphrase" -e -base64

Decrypt with CryptoES Got Nothing CryptoES.AES.decrypt(openSSLEncrypted, "Secret Passphrase");

Decrypt with OpenSSL Works Well openssl aes-256-cbc -d -in outfile -out outfile.txt -pass pass:"Secret Passphrase"

entronad commented 1 year ago

Try v2.0.0, a bug of password cipher is fixed in this version, maybe it will help.