method DiffieHellman.prototype.getPrime
Overload 1
#DiffieHellman.prototype.getPrime(): BufferReturns the Diffie-Hellman prime in the specified encoding.
If encoding is provided a string is
returned; otherwise a Buffer is returned.
Return Type #
Buffer Overload 2
#DiffieHellman.prototype.getPrime(encoding: BinaryToTextEncoding): stringParameters #
#encoding: BinaryToTextEncoding Return Type #
string