Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -1488,6 +1488,7 @@ added: v0.5.0

* `privateKey` {string|ArrayBuffer|Buffer|TypedArray|DataView}
* `encoding` {string} The [encoding][] of the `privateKey` string.
* Returns: {DiffieHellman} The `DiffieHellman` object itself.

Sets the Diffie-Hellman private key. If the `encoding` argument is provided,
`privateKey` is expected
Expand All @@ -1506,6 +1507,7 @@ added: v0.5.0

* `publicKey` {string|ArrayBuffer|Buffer|TypedArray|DataView}
* `encoding` {string} The [encoding][] of the `publicKey` string.
* Returns: {DiffieHellman} The `DiffieHellman` object itself.

Sets the Diffie-Hellman public key. If the `encoding` argument is provided,
`publicKey` is expected
Expand Down Expand Up @@ -1791,6 +1793,7 @@ added: v0.11.14

* `privateKey` {string|ArrayBuffer|Buffer|TypedArray|DataView}
* `encoding` {string} The [encoding][] of the `privateKey` string.
* Returns: {ECDH} The `ECDH` object itself.

Sets the EC Diffie-Hellman private key.
If `encoding` is provided, `privateKey` is expected
Expand Down Expand Up @@ -2085,6 +2088,7 @@ changes:

* `data` {string|Buffer|TypedArray|DataView}
* `inputEncoding` {string} The [encoding][] of the `data` string.
* Returns: {Hash} The `Hash` object itself.

Updates the hash content with the given `data`, the encoding of which
is given in `inputEncoding`.
Expand Down Expand Up @@ -2245,6 +2249,7 @@ changes:

* `data` {string|Buffer|TypedArray|DataView}
* `inputEncoding` {string} The [encoding][] of the `data` string.
* Returns: {Hmac} The `Hmac` object itself.

Updates the `Hmac` content with the given `data`, the encoding of which
is given in `inputEncoding`.
Expand Down Expand Up @@ -2828,6 +2833,7 @@ changes:

* `data` {string|Buffer|TypedArray|DataView}
* `inputEncoding` {string} The [encoding][] of the `data` string.
* Returns: {Sign} The `Sign` object itself.

Updates the `Sign` content with the given `data`, the encoding of which
is given in `inputEncoding`.
Expand Down Expand Up @@ -2870,6 +2876,7 @@ changes:

* `data` {string|Buffer|TypedArray|DataView}
* `inputEncoding` {string} The [encoding][] of the `data` string.
* Returns: {Verify} The `Verify` object itself.

Updates the `Verify` content with the given `data`, the encoding of which
is given in `inputEncoding`.
Expand Down
Loading