Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
119 views

Computing $a^e \mod p^n$ Efficiently

It is well known that we can compute: $$ a^e \mod m $$ in $O(\log e \log ^2 m)$ bit operations (assuming multiplication $nm$ in $O(\log n \log m)$ time) via exponentiation by squaring. I am wondering ...
Bryce Sandlund's user avatar