Fast Exponentiation
Square and Multiply
Evaluate a modular power with an ordered bit table. This is toy arithmetic only, not deployable security.
cryptography
The values in this lesson are deliberately tiny so every modular arithmetic step can be checked exactly.