Exponentiation by squares

The method of the exponentiation by Carré S consists of that: one wishes to calculate {a^b} MOD N

The basic method consists in calculating {a^b} in a direct way. This requires a too important computing power.

The method consists in breaking up B on basis 2.

Thus one calculation the {a^ {2k}} then one finds {a^b} by summoning the {a^ {2k}} resulting from the decomposition of B on basis 2. This method allows a reduction in the complexity of B towards Log (b).

Random links:Lake Fagnano | Sennevoy-le-Haut | Graph of scene | Norwegian Communist party | Microserfs | Goff