Wiki's Right-to-Left Binary Modular Exponentiation Algorithm.

Top