Example
Find d so ed is congruent to one modulo phi.
highlighted = computed this step
Step 1 — Set up
Set up the exact toy cryptography values.
e, phi(3, 40)
Step 2 — Candidate
Compute the highlighted cryptography value.
d27
Step 3 — Check
Compute the highlighted cryptography value.
ed mod phi1
cryptography
The values in this lesson are deliberately tiny so every modular arithmetic step can be checked exactly.