PUZZLE #3590: Diffie-Hellman Key Exchange (diff 1)
p=65521, g=13. Alice sends 55147. Bob sends 19900. Compute the shared secret.
DATA
| P |
65521
|
| G |
13
|
| Alice Public |
55147
|
| Bob Public |
19900
|
| Shared Secret |
12845
|
| Hint |
shared = pow(alice_public, b, p) = pow(bob_public, a, p). Need a from g^a mod p or b from g^b mod p.
|
| Answer Format |
integer (shared secret)
|
author's note: Pool fill: diffie-hellman diff 1
— website sponsored —
[ ad space ]