Diffie-Hellman Key-Exchange Algorithm - PowerPoint PPT Presentation

1 / 4
About This Presentation
Title:

Diffie-Hellman Key-Exchange Algorithm

Description:

Alice and Bob agree on a large prime, n and g, such that g is primitive mod n. ... and Source Code in C, Bruce Schneier. 4. ALICE. BOB. Eve. g. n. x. y. Diffie-Hellman ... – PowerPoint PPT presentation

Number of Views:3435
Avg rating:3.0/5.0
Slides: 5
Provided by: acs89
Category:

less

Transcript and Presenter's Notes

Title: Diffie-Hellman Key-Exchange Algorithm


1
Diffie-HellmanKey-Exchange Algorithm
  • Alice and Bob agree on a large prime, n and g,
    such that g is primitive mod n.
  • These two integers dont have to be secret Alice
    and Bob can agree to them over some insecure
    channel.
  • They can even be common among a group of users.

Applied Cryptography, Second Edition Protocols,
Algorthms, and Source Code in C (cloth), Bruce
Schneier
2
  • A primitive element in a group is an element
    whose powers exhaust the entire group.
  • Thus 3 is primitive in the group of units mod 7
    as
  • 136, 232, 331, 434, 535, and 633,
  • but 2 is not primitive in this group as there is
    no exponent e such that 32e (mod 7). More
    commonly we say that 3 is primitive mod 7 but 2
    is not.

http//www.math.umbc.edu/campbell/NumbThy/Class/G
lossary.html
3
  • The protocol goes as follows
  • Alice chooses a random large integer x and sends
    Bob
  • X gx mod n
  • Bob chooses a random large integer y and sends
    Alice
  • Y gy mod n
  • Alice computes
  • k Yx mod n
  • Bob computes
  • k Xy mod n
  • Both k and k are equal to gxy mod n.
  • No one listening on the channel can compute that
    value they only know n, g, X, and Y.
  • Unless they can compute the discrete logarithm
    and recover x or y, they do not solve the
    problem.
  • k is the secret key that both Alice and Bob
    computed independently.

Applied Cryptography, Second Edition Protocols,
Algorthms, and Source Code in C, Bruce Schneier
4
g
n
Diffie-Hellman
x
y
Write a Comment
User Comments (0)
About PowerShow.com