mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
doc: improve Web Crypto headings related to ECC
PR-URL: https://github.com/nodejs/node/pull/41542 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com>
This commit is contained in:
1 parent
5f4f8d417a
commit
d0d8320de7
1 file changed
+2
-2
@@ -48,7 +48,7 @@ async function generateAesKey(length = 256) {
|
||||
}
|
||||
```
|
||||
|
||||
#### Elliptic curve key pairs
|
||||
#### ECDSA key pairs
|
||||
|
||||
```js
|
||||
const { subtle } = require('crypto').webcrypto;
|
||||
@@ -66,7 +66,7 @@ async function generateEcKey(namedCurve = 'P-521') {
|
||||
}
|
||||
```
|
||||
|
||||
#### ED25519/ED448/X25519/X448 Elliptic curve key pairs
|
||||
#### ED25519/ED448/X25519/X448 key pairs
|
||||
|
||||
```js
|
||||
const { subtle } = require('crypto').webcrypto;
|
||||
|
||||
Reference in new issue
Block a user