Tool Hub

RSA Key Pair Generator

產生 RSA 密鑰對 (2048/4096 位元) 並匯出為 PEM (WebCrypto)

在瀏覽器中產生 RSA 密鑰對並匯出為 PEM。私鑰永不離開此頁面。

使用方法

  1. Choose a key size: 2048 bits for general use or 4096 bits for higher security。
  2. Click 'Generate key pair'; the browser's Web Crypto API generates the keys locally。
  3. Copy the public key PEM from the first output box to share with servers or services。
  4. Copy the private key PEM from the second output box and store it securely。
  5. The private key never leaves this page — all generation runs in your browser。

範例

  • Selecting 2048 bits and clicking Generate produces a -----BEGIN PUBLIC KEY----- block and a -----BEGIN PRIVATE KEY----- block within a few seconds。
  • Selecting 4096 bits takes a moment longer but produces a significantly longer private key suitable for long-lived certificates。

生產環境使用前請驗證輸出。無擔保 — 參見 條款.