Modular Exponentiation using python.
Modular Exponentiation is used when we are calculating a^b % m and a, b are very big numbers. We convert b to binary digits and then perform some tasks on it if the bit of digit b is 1.
Modular Exponentiation using python.
Modular Exponentiation is used when we are calculating a^b % m and a, b are very big numbers. We convert b to binary digits and then perform some tasks on it if the bit of digit b is 1.