Constructor: messages.dhConfig

Back to constructors index

New set of configuring parameters.

Attributes:

Name Type Required Description
g int Yes New value prime, see Wikipedia
p bytes Yes New value primitive root, see Wikipedia
version int Yes Vestion of set of parameters
random bytes Yes Random sequence of bytes of assigned length

Type: messages.DhConfig

Example:

$messages.dhConfig = ['_' => 'messages.dhConfig', 'g' => int, 'p' => 'bytes', 'version' => int, 'random' => 'bytes'];

Or, if you’re into Lua:

messages.dhConfig={_='messages.dhConfig', g=int, p='bytes', version=int, random='bytes'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.