Back to Home

PGP Message Encryption

Securely encrypt messages using PGP public keys. Load a public key and encrypt your message with military-grade encryption.

Generate New PGP Keypair

Load PGP Public Key

Select Keys and Message

💡 This must be the exact same password you entered when generating your keypair above.

Saved Public Keys

Key Storage: Public keys are saved in your browser's cookies and will persist between sessions. Private keys are never saved automatically for security reasons.

How to Use

🔑 Generate Your Own Keys

1. Generate New Keypair: Fill in your name, email, and a strong password, then click "Generate Keypair". This creates a 2048-bit RSA keypair encrypted with your password.

2. Save Your Keys: Copy and securely store both keys. Share your public key with others, but keep your private key and password secret!

📧 Encrypt Messages

1. Get a PGP Public Key: Ask the recipient to share their PGP public key with you, or use the generated public key from above. It should start with -----BEGIN PGP PUBLIC KEY BLOCK----- and end with -----END PGP PUBLIC KEY BLOCK-----.

2. Load the Key: Paste the public key in the text area and click "Load Public Key". The system will validate the key format and extract key information.

3. Save Keys (Optional): Click "Save Current Key" to store frequently used public keys in your browser for easy access later.

4. Encrypt Your Message: Once a valid key is loaded, type your message and click "Encrypt Message". The encrypted message will appear below.

5. Share the Result: Copy the encrypted message and send it to the recipient. Only they can decrypt it using their private key.

🔓 Decrypt Messages

1. Get Your Private Key: Use the private key you generated above or your existing PGP private key.

2. Paste Encrypted Message: Copy the encrypted message you received and paste it in the decryption section.

3. Enter Credentials: Paste your private key and enter your password.

4. Decrypt: Click "Decrypt Message" to reveal the original message.

💾 Key Management

Save Keys: Public keys can be saved to your browser's cookies for quick access. Use "Save Current Key" after loading a key.

Load Saved Keys: Select from your saved keys and click "Load Selected Key" to quickly load frequently used keys.

Storage Note: Only public keys are saved automatically. Private keys are never stored for security reasons.

🛡️ Security Notes

Client-Side Only: All key generation and encryption happens entirely in your browser. No data is sent to any server.

Key Security: Use strong passwords (8+ characters) and store your private key securely. Never share your private key or password.

Best Practices: Verify public keys through secure channels before using them for sensitive communications.