College+ · Number Theory
RSA, Diffie-Hellman & analytic number theory
40 problems in this skill, each with a solver-verified answer key. Answers are checked the moment you submit — with a hint if you want one and a worked solution afterwards.
What the problems look like
A few statements from this skill. Answers, hints and worked solutions live in the practice session.
Standard
In Diffie-Hellman key exchange with public prime and base , Alice's secret exponent is and Bob's is . The shared secret is . Compute its least nonnegative value.
Standard
In Diffie-Hellman key exchange with public prime and base , Alice's secret exponent is and Bob's is . The shared secret is . Compute its least nonnegative value.
Standard
In Diffie-Hellman key exchange with public prime and base , Alice's secret exponent is and Bob's is . The shared secret is . Compute its least nonnegative value.
Problems shown under their original terms: Generated (template, solver-computed).
Practice this free, right now
Unlimited math practice is on the free plan — no card, no trial clock.