From 6f9ed28fac9db8ca34169059962118209826b28a Mon Sep 17 00:00:00 2001 From: Tim Kuijsten Date: Tue, 20 Nov 2012 17:15:17 +0100 Subject: [PATCH] doc: fix typo in setPrivateKey function signature --- 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 28fda50..4a5735d 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -366,7 +366,7 @@ Sets the Diffie-Hellman public key. Key encoding can be `'binary'`, `'hex'` or `'base64'`. If no encoding is provided, then a buffer is expected. -### diffieHellman.setPrivateKey(public_key, [encoding]) +### diffieHellman.setPrivateKey(private_key, [encoding]) Sets the Diffie-Hellman private key. Key encoding can be `'binary'`, `'hex'` or `'base64'`. If no encoding is provided, then a buffer is -- 2.7.4