From 3595139b51de11a33c2e7af1892e89130aac7474 Mon Sep 17 00:00:00 2001 From: Brian White Date: Sat, 8 Feb 2014 13:19:04 -0500 Subject: [PATCH] doc: fix diffieHellman.getGenerator() description --- doc/api/crypto.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index 8dd9b7c41e..5323e128a6 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -384,7 +384,7 @@ then a buffer is returned. ### diffieHellman.getGenerator([encoding]) -Returns the Diffie-Hellman prime in the specified encoding, which can +Returns the Diffie-Hellman generator in the specified encoding, which can be `'binary'`, `'hex'`, or `'base64'`. If no encoding is provided, then a buffer is returned.