TLS Like It's 1969

Send secret messages to your friends like it's 1969!

Use a normal printer
Use a MXW01 thermal printer (WIP)

One-Time Pad Cryptography:

UNBREAKABLE: OTP cryptography is one of the only truly unbreakable cryptographic algorithms in existence (of course, it can be broken by giving away the message or key.)

Using a pre-shared key greater than or equal to the length of your plaintext is a Cold War-era method of sending unbreakable messages. With some modern web technology and the power of WebCrypto for a CSPRNG, you can easily genrate pads to share with your friends, so you can exercise your right to speak without uninvited listeners.

To acheive information-theoretic security, a few conditions must be met:

Usage:

A one-time pad will consist of a series of numbers in a given range, i.e. 01, 02, 03, 04, etc. Each pad is also named for your conveience. Print 2 copies of a pad, and give one to your friend over a secure channel, ideally in person. You also need to agree on a set of characters to support, i.e. a-z, space, 0-9 and some symbols (this can be done publicly). You will turn this into a key by aligning it with sequential numbers:

0001...252627...37383940
ab...z[space]0...9.!?
TIP: keep this key in mind when you decide the range of your OTP. For example, our ideal range would be [0,40], and not a bit smaller.

Now to encode your message take the number of associated with the first character of your plaintext, and perform modular addition with the next number in your OTP, mod the length of your character set, then take the character associated with that number:

a -> 00 (number associated with "a") + 01 (next number in the OTP) = 01 -> b (character associated with the number 01)

Repeat this with every character of your plaintext, crossing out every number on the OTP that you've used.

Congratulations! you now have a securely encrypted message! Go flush the pad, or save whats left if you care about the environment.

Pitfalls/warnings: