What is a Public & Private Key Pair Generator?
Asymmetric cryptography (Public Key Infrastructure) relies on a mathematically linked pair of keys: a Private Key that stays secret on your server or device, and a Public Key that can be safely shared with APIs, clients, or identity providers. A private key signs JWTs, decrypts payloads, or authenticates deployments; the public key verifies those signatures without ever exposing the secret key. Bramhify's Public & Private Key Pair Generator creates industry-standard RSA, RSA-PSS, ECDSA, and Ed25519 keys directly inside your browser using the native Web Crypto API (window.crypto.subtle).
RSA vs. ECDSA vs. Ed25519 — Which Algorithm Should You Choose?
firebase/php-jwt, Laravel Passport, Symfony LexikJWT), and legacy enterprise APIs.PEM vs. JWK vs. JWKS Output — Ready for PHP, Node.js & OIDC
Backend frameworks like PHP (openssl_pkey_get_private()), Laravel, Symfony, Python, Go, and OpenSSL CLI expect PEM format (-----BEGIN PUBLIC KEY----- SPKI and -----BEGIN PRIVATE KEY----- PKCS#8). If you supply an optional passphrase, Bramhify encrypts the private key locally into a standard -----BEGIN ENCRYPTED PRIVATE KEY----- file using PBES2 (PBKDF2-SHA256 + AES-256-CBC). Switch to JWK or JWKS mode for ready-to-serve OAuth2/OIDC key sets complete with computed kid, alg, and use fields.
100% Client-Side Security & Companion Crypto Tools
Never generate production private keys on a remote server where access logs or proxies could retain them. Bramhify runs exclusively in your browser's local memory — click Wipe Memory when finished. Already have a passphrase-locked PEM key to inspect or unlock? Use our Encrypted Private Key Decryptor, or verify tokens with our JWT & SD-JWT Decoder.