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 <benjamingr@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
  • Loading branch information
tniessen authored and BethGriggs committed Jan 24, 2022
1 parent ad5d7c7 commit 5c700fa
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 5c700fa

Please sign in to comment.