How to use this Modular Exponentiation Calculator
Enter a base, non-negative exponent, and positive modulus. The calculator uses exact BigInt repeated squaring to compute a^b mod n without constructing the full power.
Definitions and limits
The step table explains modular exponentiation for math and programming work. It is not a cryptographic protocol implementation, key generator, or security audit tool.