How to Generate your PGP Key pairs?
Strong recommend PGP Tool - Online PGP Key Generator Encryption Decryption Tool.
Notes: All the required options are import to generate the key pairs. Especially the name, email address and passphrase are critical for PGP decryption. "Name <Email address>" will be the user id of the generated PGP private key. You will use it with passphrase to decrypt the encrypted message by PGP public key.
I will write another 2 posts to guide how you can encrypt message using PGP public key and decrypt the data via PGP private key in Java. Stay tuned!
PGP
Pretty Good Privacy (PGP) is a data encryption and decryption computer program that provides cryptographic privacy and authentication for data communication. PGP is often used for signing, encrypting, and decrypting texts, e-mails, files, directories, and whole disk partitions and to increase the security of e-mail communications. It was created by Phil Zimmermann in 1991. PGP and similar software follow the OpenPGP standard (RFC 4880) for encrypting and decrypting data. Source: Wikipedia
GPG
GPG, or GNU Privacy Guard, is an open-source implementation of PGP encryption. It is functionally similar to PGP, but is available for free and can be used on a wider range of devices.
GPG, or "GNU Privacy Guard", is a newer encryption software that was released in 1997. It works in a similar way to PGP, but offers more features and is more widely-used. It's also free and open source, which means that its code can be examined and modified by anyone.