Discrete Logarithms in Finite Fields: Alice Bob
Discrete Logarithms in Finite Fields: Alice Bob
in Finite Fields
F={1,2,3,,p-1}
Pick secret,
Pick secret, random Y from F
random X from F
gx mod p
gy mod p
Alice Bob
Compute k=(gy)x=gxy mod p
Compute k=(gx)y=gxy mod p
Eve has to compute gxy from gx and gy without knowing x and y
She faces the Discrete Logarithm Problem in finite fields
Elliptic Curve on a finite set of
Integers
Consider y2=x3+2x+3(mod5)
x=0y2=3nosolution(mod5)
x=1y2=6=1y=1,4(mod5)
x=2y2=15=0y=0(mod5)
x=3y2=36=1y=1,4(mod5)
x=4y2=75=0y=0(mod5)
Then points on the elliptic curve are
(1,1)(1,4)(2,0)(3,1)(3,4)(4,0)
and the point at infinity:
Using the finite fields we can form an Elliptic Curve Group
where we also have a DLP problem which is harder to solve
Definition of Elliptic curves
An elliptic curve over a field K is a nonsingular
cubic curve in two variables, f(x,y) =0 with a
rational point (which may be a point at infinity).
a(x,y)
b(x,y)
Alice, A Bob, B