Example
Choose an exponent coprime to phi.
highlighted = computed this step
Step 1 — Set up
Set up the exact toy cryptography values.
e, phi(3, 40)
Step 2 — GCD
Compute the highlighted cryptography value.
gcd(e,phi)1
Step 3 — Verdict
Compute the highlighted cryptography value.
preconditionvalid
cryptography
The values in this lesson are deliberately tiny so every modular arithmetic step can be checked exactly.