Encrypting
The tool parses the recipient's public key from an armored block, generates a fresh random session key, encrypts the message with that session key, encrypts the session key to the recipient's public key, and assembles the results into an armored PGP MESSAGE block with a base64 CRC24 checksum line at the end. Because the session key is random, encrypting the same text twice yields different ciphertext every time.