I know theres AES and PGP, but all electronics stuff still has backdoors. You can’t backdoor a piece of paper and a writing utensil.
If you want to calculate the cipher on paper everything that works on binary will be a huge overhead and basically require you to write stuff down for the calculations. So you need to burn sheets of paper for every en/decryption. So no XOR or anything.
I would go for a stream-caesar-cipher. Find a mathematical formula that you can calculate in your head and that gives you a numbers between 1-35 (or something similar depending on how many different characters you need). The formula must be pseudo random so f(x)=5, f(x+1)=1, f(x+2)=28, … and not loop for a looooong time. Calculate a new value FOR EVERY LETTER OF YOUR TEXT!!! and use that as your Caesar cipher for that letter only (x is the position of the character in the text)
You need to keep track which letter in your cipher text was encoded with which x (write the x of the first letter of each page down) and keep the formula a secret. Never ever under any circumstance reuse an x. So you need to keep x going for every page/message and can’t restart at 1 each time.
If x becomes to large and the calculations to complicated, its better to change the formula than to restart x. Never ever ever ever reuse the same cipher because then you get all the drawbacks of Caesar ciphers (probability of letters, length of words (position of the space character) etc).
user224@lemmy.sdf.org 16 hours ago
en.wikipedia.org/wiki/One-time_pad
heavydust@sh.itjust.works 15 hours ago
It’s a good algorithm but if you need to decode any message, you must get drunk and listen to creepy radio stations at 1AM in the forest or something.
IDKWhatUsernametoPutHereLolol@lemmy.dbzer0.com 16 hours ago
Hmm yea cool, problem is, its not reusable. You have to generate new keys every time. Kinda not easy to constantly exchange new keys if you are… say a group of revolutionaries hiding from the government. 👀
yoevli@lemmy.world 15 hours ago
This is how all modern cryptography works. A deterministic cipher is functionally no different from pig Latin when it comes to actual security. A modern solution like public key cryptography is infinitely more secure. If you’re especially paranoid you can generate the cryptotext locally and send it by email; that would be infinitely more secure than anything you could achieve by hand.
rowanthorpe@lemmy.ml 8 hours ago
In-band periodic key-exchange. Pre-arrange that keys expire every X messages, and that the last (Xth) message is dedicated to sending the new key encrypted by the previous one.
Nemo@slrpnk.net 15 hours ago
That’s why you make a stack of them. Generate hundreds up-front and you don’t need to generate new every time.
m0darn@lemmy.ca 15 hours ago
I’m certainly not an expert.
But could you generate pads from mutually accessible data sources?
Like use hit_me_baby_one_more_time_not_a_virus.mp3 appended with a password, as a seed in a pseudo random number generating algorithm, then do the same thing with another data source, repeat however many times, then XOR the generated numbers together, and use the result as a pad?