Hacker News new | past | comments | ask | show | jobs | submit login

I guess I would have failed to create complexity theory with my solution --- but everyone involved would have understood it, no long calculations required: give the guard a lock and the spy a key. It's still a sort of one-way function (easier to make a lock from a key then a key for a lock), but it doesn't require squaring 100 digit numbers in the dead of night before deciding whether to shoot a man.



Practical, literal-minded solutions are not the kind of thing that typically inspires theoretical insight into mathematics, though. That's like saying Euler could have just swum across some of the rivers in Koenigsberg.


For what its worth, my solution was to give the guard a set of sealed envelopes. Each envelope having a password written on the outside and a password written on a piece of paper inside. The spy would give the guard the word that is written on one of the envelopes, the guard would then open the envelope and ask the spy for the password contained inside.


How do I know that you, the creator of the password pairs, are not an enemy's spy?


How do I know that you, the selector of the 100 digit number, are not an enemy spy?


Every "good" spy chooses his X, and sends the corresponding Y to the guards. No need to involve a 3rd person in between like in your solution.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: