Modular exponentiation (source code)

= Modular exponentiation
{wiki}

Can be calculated efficiently with the <Extended Euclidean algorithm>.