| Index Calculus Algorithm |
Article Index for Index |
Website Links For Calculus |
Information AboutIndex Calculus Algorithm |
| CATEGORIES ABOUT INDEX CALCULUS ALGORITHM | |
| group theory | |
|
DESCRIPTION Roughly speaking, the Discrete Log problem asks us to find an ''x'' such that , where ''g'', ''h'', and the modulus ''n'' are given.
The algorithm is performed in two stages. The first stage involves gathering a number of ''relations'' between the factor base and powers of the Generator ''g''. Once ''enough'' relations are gathered, we can compute the discrete log of each of the elements in the factor base. The second stage begins by multiplying ''h'' by consecutive powers of ''g'' until it can be factorised over the factor base. Once that can be done, we can work out ''x'' via a simple algebraic manipulation. THE ALGORITHM Input: Factor base {-1,2,3,...,''p''}, ''g'', ''h'', ''q'' Output: ''x'' such that # ''k'' = 0 # ''l'' = 0 # Increment ''k'' by 1 (i.e. if ''k'' was ''n'', now ''k'' = ''n'' + 1) # Compute # Factorise using the factor base, i.e. find 's such that if the factor base has elements
# Store ''k'' and the computed 's as a vector (this is a called a relation) # Check to see if this relation is Linearly Independent of the other relations
# Form a matrix whose rows are the 's # Obtain the Reduced Echelon Form of the matrix and declare the first element in the last column is the discrete log of -1 and the second element is the discrete log of 2 and so on
# ''s'' = 0 # ''s'' <- ''s'' + 1 # Compute # Try to factorise over the factor base
EXTERNAL LINKS |
|
|