«

PGP Key Generator

Generate highly secure RSA and ECC OpenPGP key pairs entirely within your browser.

Key Identity & Settings

Generated Key Pair

Why This PGP Generator is Completely Secure

Pretty Good Privacy (PGP) remains the global standard for end-to-end encrypted communication and cryptographic signatures. However, generating these keys introduces a fundamental trust problem: if you use a web-based generator, how do you know the server isn't secretly keeping a copy of your private key? The RapidCalc PGP Generator eliminates this risk entirely through a strict Zero-Server Architecture.

100% Client-Side Execution

Unlike legacy tools that send your identity parameters to a remote PHP or Node.js backend to compile the keys, this utility executes entirely inside your browser's local sandbox. When you click "Generate," the tool leverages the industry-standard OpenPGP.js library combined with your browser's native Web Crypto API. The complex mathematics required to generate prime numbers, multiply elliptic curves, and format the ASCII armor happen directly on your CPU.

Verifiable Cryptographic Isolation

Because the generation happens client-side, you can mathematically prove the security of this tool by taking the following steps:

  • Air-Gapped Generation: You can load this webpage, completely disconnect your computer from the internet (turn off Wi-Fi/Ethernet), and click generate. The tool will function perfectly offline because it relies on zero external API calls.
  • Zero Network Payloads: By opening your browser's Developer Tools (F12) and navigating to the Network tab, you can verify that absolutely no outgoing XHR/Fetch requests are made when your keys are generated. Your private key is never transmitted across the web.
  • Secure Entropy: The tool utilizes window.crypto.getRandomValues(), a cryptographically secure pseudorandom number generator (CSPRNG) built into modern browsers, ensuring your keys are seeded with unpredictable entropy that cannot be reverse-engineered.

Understanding PGP Key Pairs

PGP operates on asymmetric cryptography, meaning it generates two distinct but mathematically linked keys:

  • The Public Key: This is meant to be shared openly. You can post it on your website, attach it to emails, or upload it to key servers. Anyone who possesses this key can encrypt a message that only you can read, or verify a digital signature that only you could have created.
  • The Private Key: This must be guarded with absolute secrecy. It is the only mathematical construct capable of decrypting the messages scrambled by your Public Key. If this key is compromised, your encrypted communications are exposed.

The Importance of a Passphrase

While optional, adding a passphrase is a critical defense-in-depth measure. If you generate a key pair without a passphrase, the Private Key is stored as raw, usable cryptographic material. Anyone who gains access to the `.asc` file on your hard drive instantly possesses your identity. By adding a strong passphrase, the Private Key is symmetrically encrypted before it is exported. Even if a malicious actor steals your Private Key file, they cannot decrypt or use it without also knowing your memorized passphrase.