gpg
gpg --output a.gpg --encrypt a
gpg --output a --decrypt a.gpg
I learned new information about gpg encrypting, it is still obtuse, and here it is.
I set myself as the default recipient, and that made life easier
If default recipient is not set
gpg --output a.gpg --encrypt --default-recipient-self a