Encrypts secret.txt using a passphrase you type, with no recipient key involved, producing secret.txt.gpg. Anyone with the passphrase can decrypt it, so choose a long one. Decrypt with gpg -d secret.txt.gpg.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.