📦 “Brief-case with Two Padlocks” trick
(also called the “two-lock problem” – the physical analogue of modern public-key crypto)
Goal
Alice (A) ↔ Bob (B) want to swap secret notes, but all traffic must go through an eavesdropping courier, Eve (E). Nobody is willing to reveal, lend, or copy their own key.
Hardware
• 1 solid brief-case with hasp large enough to take two padlocks
• Padlock A + key A (only Alice knows)
• Padlock B + key B (only Bob knows)
Step-by-step for Alice → Bob (Bob → Alice is symmetric)
- Write the note, put it inside the brief-case.
- Alice locks the case with Padlock A and hands it to Eve.
– Eve can shake, weigh, smell … but cannot open.
- Eve delivers the still-locked case to Bob.
- Bob cannot open Padlock A, so he simply clips on Padlock B as well.
Now the case carries two independent locks.
- Eve brings the case (with both locks) back to Alice.
- Alice removes her own Padlock A (she still has the key).
Padlock B remains, so the content never becomes exposed.
- Eve takes the single-locked case to Bob.
- Bob unlocks Padlock B and finally reads the note.
Throughout the round-trip, Eve never had the case in an unlocked state.
Graphically
Alice Eve Bob
🎒+🔒A → 🎒+🔒A → 🎒+🔒A
add 🔒B
← 🎒+🔒A+🔒B ← 🎒+🔒A+🔒B
remove 🔒A
🎒+🔒B → 🎒+🔒B → 🎒 (open)
Exchanging both directions
• Alice and Bob can run the same dance in parallel or alternately.
• Each keeps their own padlock; no keys are ever shared.
Why it works
Padlock addition/removal is commutative:
Lock_A(Lock_B(case)) = Lock_B(Lock_A(case))
So either party can add or later remove their own lock in any order without ever exposing plaintext to Eve.
This is exactly how “double-encryption with commutative ciphers” or modern public-key schemes (e.g., RSA, DH) protect messages on an untrusted channel.
Practical tips & caveats
• Use robust locks; flimsy ones invite brute-force attacks.
• Tamper-evident tape or wax seals can show if Eve drilled the case.
• If weight or sound of contents matters, add dummy filler so Eve can’t infer anything from shaking.
• Digital version: replace “padlock” with “encrypt under your public key,” “adding your own lock” with “encrypting again under your key,” etc.
Voilà! Two complete strangers can swap secrets under the courier’s nose, and the courier never gets the keys—or the message.