DH_generate_key

perform Diffie-Hellman key exchange

copy
21
0
dh_generate_key(PrivateKey, DHParams) -> {PublicKey,PrivateKey} Types: DHParameters = [P, G] P, G = Mpint Where P is the shared prime number and G is the shared generator. PublicKey, PrivateKey = Mpint()

6 years, 11 months ago john2 0 | details |

copy
4
0
dh_generate_key(DHParams) -> {PublicKey,PrivateKey}Generates a Diffie-Hellman PublicKey and PrivateKey (if not given).

6 years, 11 months ago john2 0 | details |

copy
4
0
crypto:dh_generate_key(2, 137)

6 years, 11 months ago john2 0 | details |

copy
2
0
crypto:dh_generate_parameters(512,2)

6 years, 11 months ago john2 0 | details |