method DiffieHellman.prototype.getGenerator
Jump to headingDiffieHellman.prototype.getGenerator(): Buffer
Returns the Diffie-Hellman generator in the specified encoding
.
If encoding
is provided a string is
returned; otherwise a Buffer
is returned.
Return Type Jump to heading
Buffer
Jump to headingDiffieHellman.prototype.getGenerator(encoding: BinaryToTextEncoding): string
Parameters Jump to heading
Jump to headingencoding: BinaryToTextEncoding
Return Type Jump to heading
string