Skip to content

Commit

Permalink
doc,crypto: added sign/verify method changes about dsaEncoding
Browse files Browse the repository at this point in the history
PR-URL: #35480
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
panva authored and BethGriggs committed Dec 9, 2020
1 parent c0b0e65 commit 6e0fe1c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -1409,6 +1409,11 @@ console.log(verify.verify(publicKey, signature));
<!-- YAML
added: v0.1.92
changes:
- version:
- v12.16.0
- v13.2.0
pr-url: https://github.com/nodejs/node/pull/29292
description: This function now supports IEEE-P1363 DSA and ECDSA signatures.
- version: v12.0.0
pr-url: https://github.com/nodejs/node/pull/26960
description: This function now supports RSA-PSS keys.
Expand Down Expand Up @@ -1522,6 +1527,11 @@ This can be called many times with new data as it is streamed.
<!-- YAML
added: v0.1.92
changes:
- version:
- v12.16.0
- v13.2.0
pr-url: https://github.com/nodejs/node/pull/29292
description: This function now supports IEEE-P1363 DSA and ECDSA signatures.
- version: v12.0.0
pr-url: https://github.com/nodejs/node/pull/26960
description: This function now supports RSA-PSS keys.
Expand Down Expand Up @@ -2991,6 +3001,12 @@ Throws an error if FIPS mode is not available.
### `crypto.sign(algorithm, data, key)`
<!-- YAML
added: v12.0.0
changes:
- version:
- v12.16.0
- v13.2.0
pr-url: https://github.com/nodejs/node/pull/29292
description: This function now supports IEEE-P1363 DSA and ECDSA signatures.
-->

* `algorithm` {string | null | undefined}
Expand Down Expand Up @@ -3047,6 +3063,12 @@ not introduce timing vulnerabilities.
### `crypto.verify(algorithm, data, key, signature)`
<!-- YAML
added: v12.0.0
changes:
- version:
- v12.16.0
- v13.2.0
pr-url: https://github.com/nodejs/node/pull/29292
description: This function now supports IEEE-P1363 DSA and ECDSA signatures.
-->

* `algorithm` {string | null | undefined}
Expand Down

0 comments on commit 6e0fe1c

Please sign in to comment.