The suggested solution requires a box that is capable of being locked in both the lid and box by two padlocks. It also requires (Spoiler!) the ring to make two pointless transits, which could be expensive if it was large.
What if, instead, the box was capable of admitting only one padlock? Then Jan would padlock it closed. On receiving the locked box, Maria locks her padlock to Jan's, and returns the box (still locked with Jan's padlock, and not necessarily containing anything.) Then, on receiving the box back from Maria, Jan can form a chain that can be broken by either his padlocks (which he can remove) or by Maria's padlock (which she can remove). Then he can attach the chain to any box. Perhaps he should clip one more of his padlocks only to hers, so she can also select a new box.
Of course, this relies on some properties of padlocks that are not necessarily transferrable to cryptography.
The box cannot be opened by Maria, breaking the rear end of chain wouldn't help at all.
Box - J - Lid
Maria adds hers: Box - J - Lid
|
M
Jan can open his padlock, releasing hers, and transform this to: Box - J - M - J - Lid
Which Maria can open. An optimization could be: Box - M - J - Lid
This is available if Maria could fit her padlock through the port in the box simultaneously with Jan's there, and send that back so Jan could remove his initial box padlock.And the arrangement
Box - M - J - Lid
| |
J M
Would let either start a new box, using the J - M - J or M - J - M chaining as needed."Jan and Maria each have plenty of padlocks, but none to which the other has a key. Using only the padlocks, keys, and a custom-designed box, how can Jan get the ring safely into Maria’s hands?"
Even if there are ten times as many boxes available that only have space for a single lock, what matters in the case of the puzzle is, a box with space for two or more locks is readily available. Suggesting in the puzzle "by the way the box has space for two locks" really kind of destroys the "puzzle" aspect.
I guess i made more assumptions about the limitations than there were in the description of the problem.
I feel like there is some sort of lesson, here.
This accounts for some high percentage of the failures in figuring out brain teasers :)
https://en.wikipedia.org/wiki/Fox,_goose_and_bag_of_beans_pu...
The apparent similarity between these two is due to there being multiple trips in both -- across the river in one, and through the mail in the other. But the reason for the multiple trips are entirely dissimilar, and so the similarity is purely superficial.
Edit: Ah, charlesdenaul already proposed that. You wouldn't need cryptography, as the problem doesn't state that the postal service also monitors the Internet.
My solution is that Jan should send the ring in a padlocked wooden box with an inner protective but unlocked box and Maria should apply a saw to the outer box.
(To be fair, I can certainly imagine that in Kleptopia they know how to make excellent boxes).
This, aside from the fact that the key on the hasp is not "inside a padlocked box" ...
Another alternate solution was a bummer..
> Win at Wimbleton > 9999-9997 : Roger was wearing himself out
I mean, seriously?
Jan will get the bus.
Maria mails Jan one of her padlocks, and he mails her the ring back in a box that's locked by that padlock.
...I think others are overcomplicating this.
I think the idea is that that padlock would get stolen unless it would be sent in a padlocked box.
The problem is fatally flawed by not explicitly stating that boxes locked with padlocks are also not stolen, despite not being enclosed in a padlocked box.
If someone stole the padlocked box then they would necessarily also steal whatever's inside. Therefore (non-empty) padlocked boxes are safe to mail.
Then you put a tiny corundum crystal inside a tiny padlocked box, and permanently affix it to the ring. (Or perhaps the ring has a lockable box portion.) Now the ring cannot be stolen without also stealing an object that is inside a padlocked box. Safe to mail.
What you really need is a trusted "padlock authority" that can verify the authenticity of your padlocks...