*** WARNING : deprecated key derivation used. Using -iter or -pbkdf2 would be better.

参考:https://unix.stackexchange.com/questions/507131/openssl-1-1-1b-warning-using-iter-or-pbkdf2-would-be-better-while-decrypting

加上-pbkdf2即可。

openssl aes-256-cbc -salt -pbkdf2 -in name -out name.aes
openssl aes-256-cbc -d -salt -pbkdf2 -in name.aes -out name

但是要注意没有用-pbkdf2加密的文件不能用-pbkdf2选项解密。

posted @ 2024-09-28 14:14  寻找繁星  阅读(43)  评论(0编辑  收藏  举报