Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am using OpenSSL 1.1.1f 31 Mar 2020 and I have a problem decrypting the data encrypted with openssl.

The encrypt command is

openssl enc -aes-256-cbc -md sha512 -pbkdf2 -iter 100000 -salt -in in.txt -out out.dat

The decrypt command is

openssl aes-256-cbc -d -md sha256 -salt -iter 100000 -pbkdf2 -in out.dat -out out.txt

The error is

enter aes-256-cbc decryption password: bad decrypt 139749253547328:error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt:../crypto/evp/evp_enc.c:583:

Thanks

question from:https://stackoverflow.com/questions/65847109/openssl-decrypt-issue-fails-with-evp-decryptfinal-exbad-decrypt

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
2.2k views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...