For a beginner, how can I encrypt a password text into a cipher text that I would send via an email to someone, such that they can decrypt locally (offline) and read the password?
To clarify, the intent is not to encrypt the whole email (irrespective of the service being used), but to just send the password itself in an encrypted format as opposed to a plaintext form, to be on the safe side. Can OpenPGP be used here? (Say, for a Linux based OS). I admit I don't know what key (and encryption protocol) I should share with the other party, so that they can decrypt, and how to share the key.
Any advice or pointers towards tutorials for such purposes would be highly appreciated.
Important details:
- I don't have a public key from the recipient.
- Nor do we have a pre-shared secret. (how can I establish that assuming I have other means of communicating with the other party, other than email I mean, for instance sharing a secret on a piece of paper, or via an encrypted call, etc.)