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 <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
panva authored and BethGriggs committed Dec 15, 2020
1 parent 2f692c4 commit 4faf71b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions doc/api/crypto.md
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 4faf71b

Please sign in to comment.