DH_generate_key

perform Diffie-Hellman key exchange

copy
23
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()

7 years, 6 months ago john2 0 | details |

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

7 years, 6 months ago john2 0 | details |

copy
4
0
crypto:dh_generate_key(2, 137)

7 years, 6 months ago john2 0 | details |

copy
2
0
crypto:dh_generate_parameters(512,2)

7 years, 6 months ago john2 0 | details |