method DiffieHellman.prototype.getPrime
Jump to headingDiffieHellman.prototype.getPrime(): Buffer
Returns the Diffie-Hellman prime 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.getPrime(encoding: BinaryToTextEncoding): string
Parameters Jump to heading
Jump to headingencoding: BinaryToTextEncoding
Return Type Jump to heading
string