Skip to content

Commit

Permalink
doc: fix typo in setPrivateKey function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Kuijsten authored and bnoordhuis committed Nov 20, 2012
1 parent 38c52a0 commit 6f9ed28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/crypto.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f9ed28

Please sign in to comment.