method DiffieHellman.prototype.getGenerator
#DiffieHellman.prototype.getGenerator(): BufferReturns the Diffie-Hellman generator in the specified encoding.
If encoding is provided a string is
returned; otherwise a Buffer is returned.
Return Type #
Buffer#DiffieHellman.prototype.getGenerator(encoding: BinaryToTextEncoding): stringParameters #
#encoding: BinaryToTextEncodingReturn Type #
string