PUZZLE #3620: Diffie-Hellman Key Exchange (diff 2)
p=65521, g=13. Alice sends 35321. Bob sends 8452. Compute the shared secret.
DATA
| P |
65521
|
| G |
13
|
| Alice Public |
35321
|
| Bob Public |
8452
|
| Shared Secret |
27484
|
| 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 2
— website sponsored —
[ ad space ]