Link Search Menu Expand Document

Constructor: messages.dhConfig

Back to constructors index

New set of configuring parameters.

Attributes:

NameTypeRequiredDescription
gintYesNew value prime, see Wikipedia
pbytesYesNew value primitive root, see Wikipedia
versionintYesVersion of set of parameters
randombytesYesRandom sequence of bytes of assigned length

Type: messages.DhConfig

Example:

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