PGP provides confidentiality by encrypting the message with a randomly chosen IDEA session key and then encrypting the session key with the RSA public key of the intended recipient. The encrypted session key is then prepended to the message.
Encryption is accomplished with the command:
pgp -e plain_text user_id [additional user_ids] > encrypted_text
Decryption is accomplished with the command:
pgp encrypted_text > plain_text