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: #41542
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Filip Skokan <[email protected]>
  • Loading branch information
tniessen committed Jan 17, 2022
1 parent 5f4f8d4 commit d0d8320
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 d0d8320

Please sign in to comment.