PGP Encryption & Decryption

OpenPGP RFC 4880 RSA + AES-256 No Data Stored

Secure your messages with military-grade PGP encryption. Encrypt using recipient's public key, decrypt with your private key and passphrase. Share encrypted messages via URL or email. All processing is server-side with no data retention.

✏️

Your Message

Type or paste your secret message

💡 Only the recipient with the matching private key can decrypt this message
🔑

Recipient's Public Key

Paste recipient's public key block

📨

Encrypted Message

Paste the PGP message block

⚠️ Include the complete message including BEGIN/END markers
🔐

Your Credentials

Your private key to decrypt

Private key passphrase

📋

Result

Ready to encrypt or decrypt

Select a mode and fill in the form. Your result will appear here.

About This PGP Tool & Cryptographic Methodology

This online PGP encryption and decryption tool implements the OpenPGP standard (RFC 4880) using industry-standard Java cryptography libraries (Bouncy Castle). All cryptographic operations are performed server-side using RSA public-key cryptography with configurable key sizes (1024-4096 bits). Messages are encrypted using a hybrid approach: symmetric encryption (AES/3DES) for the message body and RSA public-key encryption for the session key.

How PGP Encryption Works:

  1. Key Generation: RSA keypair (public + private) is generated using cryptographically secure random number generation
  2. Encryption: Message is compressed (ZIP), encrypted with a symmetric key (AES-256), then the symmetric key is encrypted with recipient's RSA public key
  3. Decryption: Private key decrypts the session key, which then decrypts the message body. Passphrase protects the private key using symmetric encryption
  4. Security Model: Even if the encrypted message is intercepted, only the holder of the private key (and passphrase) can decrypt it

Authorship & Expertise

  • Author: Anish Nath
  • Background: Security engineer specializing in cryptographic implementations
  • Reviewed by: 8gwifi.org security team
  • First published: 2018-10-23
  • Last updated: 2025-11-20

Trust & Privacy Guarantees

  • No Data Retention: Messages and keys processed in-memory only
  • HTTPS Only: All data transmission uses TLS 1.2+ encryption
  • Open Standards: Implements RFC 4880 (OpenPGP)
  • Library: Bouncy Castle - peer-reviewed Java crypto provider
  • Support: @anish2good
Security Disclaimer: While this tool implements industry-standard cryptography, for maximum security when handling highly sensitive data (financial, medical, classified), consider using offline PGP implementations (GPG) on air-gapped systems.

Support This Free Tool

Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site — you're helping me build what developers actually need.

500K+ users
200+ tools
100% private
Privacy Guarantee: Private keys you enter or generate are never stored on our servers. All tools are served over HTTPS.