Member-only story

A Near Perfect One-Time Pad for Cryptography

John Clark Craig
7 min readMay 17, 2022

There’s a simple way to share a virtual one-time pad for near perfect cryptography. Intercepted messages are even quantum-proof, as long as Alice and Bob acquire the same one-time pad, and nobody else does.

Photo by saeed karimi on Unsplash

Since the early days of cryptography, it’s been a known fact that one-time pads provide the ultimate in message security. The catch is that it can be tricky to make sure Alice and Bob acquire the same one-time pad, and that nobody else gets hold of it.

So how do Alice and Bob create and share a good one-time pad? This article provides a simple way to do the creation using Python. Careful transfer and protection of the results between Alice and Bob is up to them. Keeping a one-time-pad secure is the weakest link in using one, but with a little care it’s quite doable.

A Picture Is Worth a Thousand Universes

Actually, an organic photo of most any nature scene is more complicated than many, many billions of universes. Let me explain.

Consider carefully the following photograph of nine 12-sided dice.

A group of nine 12-sided dice.
Nine 12-sided dice

--

--

John Clark Craig
John Clark Craig

Written by John Clark Craig

Author, inventor, entrepreneur — passionate about alternate energy, technology, UFOs, and how Python programming can help you hack your life.

No responses yet