OpenSSL¶
sumber bacaan : https://github.com/openssl/openssl
openssl file¶
enc :
openssl aes-256-cbc -a -salt -in secrets.txt -out secrets.txt.enc
dec :
openssl aes-256-cbc -d -a -in secrets.txt.enc -out secrets.txt.new
or
echo U2FsdGVkX18YcWkbmhsN7M/MP1E+GLf4IqmNsa53T+A= | openssl aes-256-cbc -d -a
echo U2FsdGVkX18YcWkbmhsN7M/MP1E+GLf4IqmNsa53T+A= | openssl aes-256-cbc -d -a -pass pass:<pass>
masih ambyuradyul