Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
<br>
  <div>平文 (半角190字まで、全角126字弱まで)<br>
    <textarea id="plain"></textarea>
  </div>
  <button id="encrypt_button" onclick="encrypt()">平文 → 暗号文</button>
  <div>暗号文 (短くて350字ほど)<br>
    <textarea id="encrypted"></textarea>
  </div>
  <label for="show_decryption_ui"><button onclick="document.getElementById('show_decryption_ui').checked = !document.getElementById('show_decryption_ui').checked;">
    復号UI
    </button></label>
  <input id="show_decryption_ui" type="checkbox">
  ← do not touch.
  <div id="for_decrypter">
  <div>public key<br>
  <textarea id="public" disabled>
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAu9BE2aLt4fhmgLYVzl6vPbcwPgC72Bt9K6WfOf3PM9WeVGk9CpDE8TFZPtj3loh6HnmNqnbTwbTsVTo4tD7kQrfeJkVrvNLbNO3CiIAF6cxUE1RBcSgDU6xpPIX5ERv80+/dfBJzNWbc1VgepI6j7M2WQmb+fgM7eAs18yQTHLaNY1Zku20Q+CefJ6FcIo4+bWwq09kB1lGhqZSvv8mW1ytvKQ7mcS30Quov1zRMkC8NtNrZP4Z7CTTxY9bCcFXHXn3V7ypWNKXhZFLsj3okpiYMNWH+UbTOCUawcyhyYeEbv8iQHm4cpvLluSDCeod6bgJnZVi+ZBSkYFQKvCroNQIDAQAB
    </textarea>
  </div>
  <div>private key<br>
    <textarea id="private"></textarea>
  </div>
  <button id="decrypt_button" onclick="decrypt()">暗号文 → 平文</button>
  <button id="generate_button">鍵ペア生成</button>
  <div>decrypted<br>
    <textarea id="decrypted"></textarea>
  <div id="error"></div>
    </div>
  </body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers