What is the current state of the art method for determining, the residue of a large integer $k$ modulo $m$?
The only useful idea I can think of, which Ive seen used in base 10, is if $k$ was written in a positional numeral system with base $p$, and $\gcd(p,m)=1$, I could pick off each digit and multiply it by its corresponding power of $p$ reduced modulo $m$, which could be done efficiently if one had knowledge of the order of $p$ modulo $m$ (as the reduced exponents modulo $m$ would eventually be periodic, with primitive period $\mathrm{ord}_m(p)$) but I don't think for large numbers the modulo order can be obtained easily, so does any one know of a more efficient method?