Since I’m not trying to write a website up from scratch, or reuse my ancient but clever php site, I thought about a project that I never got around to starting, Enigma. Well, I know I can stand on the shoulders of the German mathematicians that wrote it, but I will not truly understand it’s underpinnings. So I have decided to write a much less complicated yet more secure, One-time Pad or Split-Key.
I am going to try to start and complete this project unlike Enigma. I haven’t written anything in such a long time I think this will be refreshing. But not today
I have decided to start a XOR project. This will ensure a printed OTP can be scanned and processed by Optical Character Recognition software. I’m really trying to think outside of my box though I’m sure hundreds of others have done the same thing.
I will produce 2 or more binary files. The first file will be the cipher and the 2nd onward will be keys. I will delimit the amount of keys so that you can generate a message that no one person can read without the other X keys.
My first message will be the secret of world peace, I will break the message into 193 pieces and send them to the leaders of every country, if they all get together and agree to share the key we will have world peace.
Tools (So I don’t forget):
gmp_xor— Bitwise XOR.
Numbers7 — One-time Pad generator for inspiration.
More — More references.