Chapter 6: Where All Roads Meet: Modular Exponentiation

Team-Fly

Overview

Two roads diverged in a yellow wood,

And sorry I could not travel both

And be one traveler, long I stood ...

Robert Frost, "The Road Not Taken"

IN ADDITION TO THE CALCULATIONAL rules for addition, subtraction, and multiplication in residue classes we can also define an operation of exponentiation, where the exponent specifies how many times the base is to be multiplied by itself. Exponentiation is carried out, as usual, by means of recursive calls to multiplication: For a in we have a0 := and ae+1 := a · ae.

It is easy to see that for exponentiation in the usual rules apply (cf. Chapter 1):

click to expand


Team-Fly


Cryptography in C and C++
Cryptography in C and C++
ISBN: 189311595X
EAN: 2147483647
Year: 2001
Pages: 127

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net