2022-01-31 19:39:23 +00:00
|
|
|
= Diffie Hellman =
|
2022-01-31 19:38:26 +00:00
|
|
|
|
|
|
|
Diffie Helman is a secret sharing algorithm where a shared secret can be
|
|
|
|
created between two parties via an unsecure channel.
|
|
|
|
|
2022-01-31 19:39:23 +00:00
|
|
|
* Diffie hellman is not for encryption
|
2022-01-31 19:45:01 +00:00
|
|
|
* used to generate private key
|
|
|
|
|
|
|
|
== algorithm ==
|
|
|
|
|
|
|
|
1) For some prime `q`
|
|
|
|
2) Select some `alpha` such that `alpha < q` and `alpha` is a [[../math/primative_root]] of
|
|
|
|
`q`
|