Tags | |
UUID | 0e4aa1bf-2006-11ee-b65f-bc764e203090 |
The Modulus Using Binary Exponentiation equation is an efficient technique for calculating the result of raising a base to a large exponent and taking the modulus of the result.
INSTRUCTIONS: Enter the following
Result (n): The result is returned as the result of the large integer mod m
n = 42313 mod 19
313 = (100111001)2 >>> 28, 25, 24, 23, 20 = 256, 32, 16, 8, 1
Index | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Binary Number | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 |
4267 mod 19 = (42256 x 4232 x 4216, 428, 421) mod 19 = [(42256 mod 19)(4232 mod 19)(4216 mod 19)(428 mod 19)(421 mod 19)] mod 19 = (9 x 17 x 6 x 5 x 4) mod 19 = 18360 mod 19
= 6
No comments |