messages.dhConfig

New set of Diffie-Hellman parameters.

Constructor schema is available as of layer 8. Switch ยป

Parameters

Name Type Description
g int The primitive root, see Wikipedia
p bytes The prime, see Wikipedia
version int The version of these parameters, passed to messages.getDhConfig to avoid refetching them if they haven't changed.
random bytes Random sequence of bytes of the length requested in messages.getDhConfig.random_length.

Type

messages.DhConfig