Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analogy: Tamper-proof Postcard #64

Open
nelsonic opened this issue Jun 9, 2016 · 2 comments
Open

Analogy: Tamper-proof Postcard #64

nelsonic opened this issue Jun 9, 2016 · 2 comments

Comments

@nelsonic
Copy link
Member

nelsonic commented Jun 9, 2016

Analogy: Tamper-proof Postcard

This will only be clear if you have read: https://wordtothewise.com/2014/09/cryptography-alice-bob/

@adam-beck
Copy link

adam-beck commented Jun 9, 2016

https://np.reddit.com/r/math/comments/3tn1xq/what_intuitively_obvious_mathematical_statements/cx7np4t?context=3

Take your message, treat it as a number and multiply it by a bunch of primes.
Send it to me. I will then multiply by a bunch of primes too.
I send it back to you. You then divide by all of your primes.
Send it back to me. I divide by all of my primes and get the original message.
It may be easier to think of the message as a box and the primes as locks.
You want to send a box to me without Eve getting at what's inside. So you put a lock on it and send it to me.
Now neither Eve nor I can open it because it's locked. I add my own lock because fuck you and your stupid lock. I send it back to you.
Now you can't open it and it's locked so it's worthless, therefor you take your precious lock back and send the now worthless piece of shit back to me.
Eve is still like "WTF?" All she has seen so far is the same box going back and forth with locks she can't open.
So now I get the box with my lock on it and I take my lock off. Now the box is unlocked and I can take your shit.

@nelsonic
Copy link
Member Author

@adam-beck yeah, that's a great thread. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants