What Is PGP Encryption?
PGP (Pretty Good Privacy) is an encryption program that provides cryptographic privacy and authentication for data communication. It uses a combination of symmetric-key cryptography and public-key cryptography. OpenPGP is the open standard based on PGP. It is widely used for encrypting emails, files, and messages. Each user has a public key (shared with others for encryption) and a private key (kept secret for decryption).
How to Use This PGP Tool
- 1To generate a key pair: Switch to Generate Keys mode, enter your name and email, choose ECC or RSA, and click Generate.
- 2To encrypt a message: In Encrypt mode, paste the plaintext message and the recipient public key, then click Encrypt.
- 3To decrypt a message: In Decrypt mode, paste the PGP encrypted message and your private key, enter the passphrase if needed, then click Decrypt.
- 4Optionally paste the sender's public key to verify an embedded signature, or inspect recipient and signing key IDs before decrypting.
- 5Copy the result, then clear sensitive data from the page.
Common Use Cases
Secure Communication
Encrypt sensitive messages before sending them via email or messaging platforms.
Key Pair Generation
Generate ECC (Curve25519) or RSA (4096-bit) key pairs for use with PGP-compatible tools.
Verify Encrypted Messages
Decrypt signed messages, verify them with the sender's public key, and inspect recipient key IDs, fingerprints, algorithms, and expiration.
Frequently asked questions
Is this tool secure for handling private keys?
All cryptographic operations run entirely in your browser using OpenPGP.js. No data is sent to any server. However, for maximum security, use dedicated PGP software for production use.
What key types are supported?
This tool supports ECC (Curve25519) and RSA (4096-bit) key generation. ECC keys are smaller and faster, while RSA keys have broader compatibility.
Why inspect a PGP message before decrypting it?
Inspection can show recipient and signing key IDs plus an embedded filename. This helps identify a wrong key or malformed message without exposing plaintext.