2. Modular exponentiation #

Created Saturday 01 August 2020

mod_exp(a, b, c) - same as


For iterative, do the exponentiation w.r.t the bit in the binary representation. b&1 will do the bit checking.