Title: Number Theory and Advanced Cryptography 10' Modular Exponentiation
1Number Theory and Advanced Cryptography 10.
Modular Exponentiation
Part I Introduction to Number Theory Part II
Advanced Cryptography
2Reference
- High-Speed RSA Implementation
- Cetin Kaya Koc
- RSA Lab. RSA Data Security, Inc.
- Nov. 1994
3Modular Exponentiation
4Binary Method (1)
5Binary Method (2)
e 250 (11111010)
6m-ary Method (1)
7m-ary Method (2)
8m-ary Method (3)
9Adaptive m-ary Method (1)
- Reducing preprocessing multiplications
6 multiplications ? m-array needs 14
multiplications
10Adaptive m-ary Method (2)
- Sliding window techniques
dmax(L(Fi))
11Constant Length Nonzero Windows (1)
12Constant Length Nonzero Windows (2)
13Variable Length Nonzero Windows (1)
14Variable Length Nonzero Windows (2)
15Addition Chains (1)
16Addition Chains (2)
17Recoding Methods (1)
18Recoding Methods (2)
19Recoding Methods (3)
20Booth Algorithm (1)
Worst case
21Booth Algorithm (2)
22The Canonical Recoding Algorithm (1)
23The Canonical Recoding Algorithm (2)
24Recoding and Cryptography
25Modular Multiplication
- Multiply and then Reduce
- Blakleys method
- Montgomerys method
26Standard Multiplication Algorithm (1)
27Standard Multiplication Algorithm (2)
28Standard Multiplication Algorithm (3)
29Standard Multiplication Algorithm (4)
30Computation of the Remainder (1)
- Restoring Division Algorithm
- Division is the most complex of the four basic
arithmetic operations.
31Computation of the Remainder (2)
- Example 3019 mod 53
- 3019(101111001011)2 53(110101)2
32Computation of the Remainder (3)
- Nonrestoring Division Algorithm
33Computation of the Remainder (4)
34Blakleys Method (1)
- G. R. Blakley. A computer algorithm for the
product AB modulo M. IEEE Transactions on
Computers, 32(5)497500, May 1983.
35Blakleys Method (2)
36Blakleys Method (3)
37Montgomerys Method (1)
38Montgomerys Method (2)
39Montgomerys Method (3)
40Montgomerys Method (4)
41Montgomerys Method (5)
42Montgomery Exponentiation (1)
- The exponentiation algorithm uses the binary
method
43Montgomery Exponentiation (2)
44Montgomery Exponentiation (3)
45Montgomery Exponentiation (4)