गाइड्स EN
Bramhify Pro

एडवांस टूल्स, अनलिमिटेड इस्तेमाल और प्रायोरिटी सपोर्ट पाएं।

अभी अपग्रेड करें
होम / टूल्स / पब्लिक और प्राइवेट की जनरेटर
Public & Private Key Generator Icon

पब्लिक और प्राइवेट की जनरेटर

New इन-ब्राउज़र • 100% निजी

ब्राउज़र में सीधे RSA, ECDSA और Ed25519 PEM/JWK की पेयर ऑफ़लाइन जनरेट करें।

Web Crypto CSPRNG

PBKDF2-SHA256 (100,000 इटरेशन) का उपयोग करके OpenSSL-कम्पैटिबल BEGIN ENCRYPTED PRIVATE KEY ब्लॉक बनाता है।

ब्राउज़र के नेटिव Web Crypto API से 100% लोकल रूप से जनरेट। कोई सर्वर अपलोड या स्टोरेज नहीं।

एल्गोरिदम चुनें और लोकल की पेयर बनाने के लिए 'की पेयर जनरेट करें' पर क्लिक करें।

पब्लिक और प्राइवेट की पेयर जनरेटर क्या है?

एसिमेट्रिक क्रिप्टोग्राफी में दो गणितीय रूप से जुड़ी कुंजियाँ होती हैं: एक प्राइवेट की जिसे गोपनीय रखा जाता है और एक पब्लिक की जिसे सत्यापन के लिए साझा किया जा सकता है। Bramhify सीधे आपके ब्राउज़र के नेटिव Web Crypto API से RSA, ECDSA और Ed25519 की पेयर PEM व JWK फ़ॉर्मेट में बनाता है।

RSA vs. ECDSA vs. Ed25519 — Which Algorithm Should You Choose?

1
RSA & RSA-PSS (2048 / 3072 / 4096-bit): The universal standard for RS256 / PS256 JWT authentication, PHP OpenSSL (firebase/php-jwt, Laravel Passport, Symfony LexikJWT), and legacy enterprise APIs.
2
ECDSA (P-256 / P-384 / P-521): Delivers equivalent security to RSA 3072-bit with dramatically smaller keys and faster handshakes. Ideal for ES256 JWTs, OAuth2/OIDC, and SD-JWT credentials.
3
Ed25519 (EdDSA): Modern high-speed Edwards-curve signature algorithm resistant to side-channel timing attacks. Compact 32-byte keys make it popular for modern microservices and webhook verification.

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.

अक्सर पूछे जाने वाले सवाल

Is it safe to generate private keys in this browser tool?

Yes. Key generation runs 100% locally inside your browser using the native Web Crypto API (window.crypto.subtle). Zero network requests are made and keys are never saved to cookies or localStorage.

Are the generated PEM keys compatible with PHP OpenSSL, Laravel, and Node.js?

Yes. Unencrypted keys export as standard SPKI (BEGIN PUBLIC KEY) and PKCS#8 (BEGIN PRIVATE KEY) PEM files, and passphrase-protected keys export as RFC 5958 PBES2 (PBKDF2-SHA256 + AES-256-CBC) BEGIN ENCRYPTED PRIVATE KEY files that work seamlessly with OpenSSL, PHP, Node.js, Python, and Go.

Which key algorithm should I use for JWT signing?

Use RSA 2048-bit for RS256 compatibility across legacy systems, ECDSA P-256 for compact and fast ES256 tokens (including SD-JWT), or Ed25519 for modern EdDSA applications.

Can I export keys in JWK (JSON Web Key) format?

Yes. Toggle the Export Format switch between PEM and JWK at any time to copy or download both the public and private JSON Web Key objects.

Why is Ed25519 unavailable on some older browsers?

Ed25519 Web Crypto support was added in Chrome 113+, Safari 17+, and Firefox 129+. On older browsers, use ECDSA (P-256) or RSA (2048-bit) instead.