slothsoffun
3/7/2018 - 7:25 PM

Shell Encryption Unix

# OPENSSL (will be prompted for password)

openssl aes-256-cbc -a -salt -in secrets.txt -out secrets.txt.enc

openssl aes-256-cbc -d -a -in secrets.txt.enc -out secrets.txt.new

# -a = BASE64