MATH 470 Lecture 21

From Notes
Jump to navigation Jump to search

« previous | Thursday, April 4, 2013 | next »


"Surprise" quiz on Tuesday: Pohlig-Hellman or Jacobi Symbols


Random Number Generators

Generating "random" sequences from a "simple" deterministic scheme remains a mystery.

Polynomial Congruential generators

  1. Loooong periods from very simple recurrences.
  2. Applications: require more speed than security, e.g. cable TV

Algebraic Curves

Vocabulary

ring
set closed on addition and multiplication
/n
field
set closed on division
/6 is not a field since 12 makes no sense mod 6
/p for prime p
group
set closed on multiplication
EX: in El Gamal, we used (/p)*

Foundations

Moving to more general groups enables more and better cryptography

Example: The points (x,y)(/p)2 satisfying y2=x3+bx+c for pb,c can be turned into a group.

Such groups form backbone of cryptological algorithms used by Microsoft, Certicom, Matsushita (松下), Siemens, etc

Algebraic geometry is the area of mathematics that studies solutions to polynomial equations

Number theory and relativity will likely be useless, even years from now. G.H. Hardy (1940)

Algebraic Curves

The set of solutions of a polynomial equations, in 2 variables, over a field.

Examples:

  1. x2+y2=1x,y forms a circle of radius 1
  2. x2+y2=1x,y is the empty set, BUT
  3. x2+y2=1x,y can be deformed into a sphere
  4. y2=x32x,y is an elliptic curve (not in the sense that it is an ellipse

Curves can be parameterized in many ways:

  • x2+y2=1 has parameterization
  • x=1t21+t2y=2t1+t2

Big Result

Detecting and computing points on algebraic curves gets harder as you go from to to to ...

For Example, elliptic curves y2=x3+bx+c for b and c not both 0, do not admit rational parameterizations

Came about as desire to find arc length of an elliptic curve, which turned out to be of the form

dxO(x2)

These are called elliptic integrals.

Detecting roots is really hard over .

Theorem

Davis, Putnam, Robinson, Matiyasevic (1970)

In general, detecting integer solutions to polynomial equations is undecidable.

That is, a "no" answer cannot be guaranteed by any finite computation.


K. GÖdel (1940s)

How does this Connect to Cryptography

  1. Polynomial equations are "rich enough" to do a lot

Let's focus on elliptic curves:


Elliptic Curves

1950s
Alan Baker showed that, for elliptic curves, you can detect solutions in finite time.
1986
H.W. Lenstra, Jr. proved that Elliptic curves (over finite fields) could be used to factor integers!
1990s
Elliptic curves over finite fields enable new cryptosystems!

Elliptic Curves Admit an addition (operation) that turns them into groups useful for cryptography!

Definition. Given an elliptic Curve E:(x,y)y2=x3+bx+c, for b and c not both 0, in some field, and points (x,y) and (x,y) on E, we define

(x,y)(x,y)=(m2xx,m(x𝕏)y)(x,y)(x,y)=(m2xx,m3+2mxmx)y)
  • m={yyxxxx3x2+b2yx=x
  • 𝕏=m2xx
  • This addition (⊕) is also known as the chord-tangent, and goes back to Bachet in 1621

E thus becomes a group, which means that

  1. there must be a "0" ("the point at infinity")
  2. there must be a "negative" ((x,y):=(x,y)

Illustration of Elliptic Curve Addition

How many rational numbers x and y satisfy y2=x32?

The answer: infinitely many, and you can build them all via elliptic curve addition!

For the given equation, (x,y)=(3,5) is a solution, so the negative, (3,-5) is also a solution.

What if we add the point to itself?

(3,5)(3,5)=[2](3,5)=(129100,±3831000)

Equivalent to

  • Taking the tangent line at the point
  • Finding the intersection of that point with the elliptic curve

This can be doubled again, giving huge, complicated numbers very quickly


Finite Fields

Chord tangent no longer makes sense, but algebraic formulae still work:

For example, y2=x3+1(x,y)(/5)2

How do we draw this curve? How do we find points?

A: Use square roots mod 5

Squares mod 5 = { 0, 1, 4 }

x x3+1(mod5) y exists
0 1 Yes
1 2 No
2 4 Yes
3 3 No
4 0 Yes

Therefore, this elliptic curve has exactly 5 points in (/5)2:

  1. (0, ±1)
  2. (2, ±2)
  3. (4, 0)