Improved One-Time Pad Encoder/Decoder by Kumgang R&D

Input

OTP

Output:

Instructions

Encoding

  1. Put your plaintext message into the Input field.
  2. Put your key into the OTP field. Each key must be securely generated, known only to the communicating parties, and never be reused.
  3. Press the Encrypt button. Your ciphertext appears in the Output box.

Decoding

  1. Put the encrypted message into the Input field.
  2. Put your key into the OTP field. The key must be identical to the one used by the message sender.
  3. Press the Decrypt button. Your plaintext appears in the Output box.

https://danq.me/2010/02/10/one-time-pad-in-javascript/