Computational complexity of modular exponentiation by Ciro Santilli 34 Updated 2024-11-15 Created 1970-01-01
math.stackexchange.com/questions/2382011/computational-complexity-of-modular-exponentiation-from-rosens-discrete-mathem mentions:
can be calculated in:
Remember that and are the lengths in bits of and , so in terms of the length in bits and we'd get: