Disable Bash history:
unset HISTFILE
Encrypt:
echo 'your string here' | gpg -c | base64
Decrypt:
echo 'encrypted here' | base64 -d | gpg -d
Both commands will open a graphical prompt for the password.
Disable Bash history:
unset HISTFILE
Encrypt:
echo 'your string here' | gpg -c | base64
Decrypt:
echo 'encrypted here' | base64 -d | gpg -d
Both commands will open a graphical prompt for the password.