One Time Pad Cipher

The one time pad is, theoretically, an unbreakable cipher. In order for it to work, a pre-shared key of the same length as the message must be shared with the intended recipient. The below tool allows you to encrypt or decrypt one-time pads if you have the key. To increase the security, the key should not contain repeating characters. To help with this, you may generate a random key automatically if you choose.

Plaintext:
Alphabet Key
Enter a keyword, phrase or alphabet and the rest will be calculated for you.
Encryption Key
Note: To avoid truncation of the results, the key must be at least as long as the plaintext. Click the button below to generate a random encryption key equal to the length of the source text. Spaces will be removed from the source text.
Ciphertext:
You must enter the ciphertext.