One-Time Pad
v1.0.0Encrypt and decrypt messages using the only mathematically unbreakable cipher — the One-Time Pad (Vernam cipher).
Output format
This is an educational tool. The pad is generated in your browser using Web Crypto CSPRNG — never transmit the pad over the same channel as the ciphertext.
PAD (HEX)
PLAINTEXT
CIPHERTEXT
Pad Reuse Demonstration
If you reuse the same pad for two messages, an attacker can XOR the two ciphertexts to cancel out the pad and reveal the XOR of the two plaintexts — completely breaking the encryption.