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