gpg

Encrypt and decrypt a file with one password. Without --no-symkey-cache the password is cached on the system.

gpg --no-symkey-cache --symmetric --cipher-algo AES256 notes.txt
gpg --output notes.txt --decrypt notes.txt.gpg