Skip to content

Commit

Permalink
doc: improve Web Crypto headings related to ECC
Browse files Browse the repository at this point in the history
PR-URL: nodejs#41542
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Filip Skokan <[email protected]>
  • Loading branch information
tniessen authored and Linkgoron committed Jan 31, 2022
1 parent c88e841 commit bebd046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/webcrypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async function generateAesKey(length = 256) {
}
```

#### Elliptic curve key pairs
#### ECDSA key pairs

```js
const { subtle } = require('crypto').webcrypto;
Expand All @@ -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;
Expand Down

0 comments on commit bebd046

Please sign in to comment.