Symmetric Key Encryption Flashcards

(3 cards)

1
Q

How does Diffie-Hellman work?

A

Both parties agree on two public parameters, generator (g) and a prime number (p).
Both parties pick random numbers (N)
Both parties calculate g^N mod p.
Both parties exchange their calculations.
The key is g^(Na * Nb) mod p

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does elliptic curve diffie-hellman work?

A

Both parties agree on a curve
They agree on a point p
Alice picks random n and sends np to Bob
Bob picks random m and sends mp to Alice
Both can then calculate mnp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What’s the difference in results between diffe-hellman and eliptic-curve diffe-hellman?

A

Diffe-hellman produces long keys slowly.
Eliptic-curve diffe-hellman produces short keys quickly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly