From 5c700fa8e25fae8d6a453074cfc7dc0173a37290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Sat, 15 Jan 2022 15:34:38 +0100 Subject: [PATCH] doc: improve Web Crypto headings related to ECC PR-URL: https://github.com/nodejs/node/pull/41542 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Filip Skokan --- doc/api/webcrypto.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/webcrypto.md b/doc/api/webcrypto.md index db657a6222d5c5..43290395bc6d2a 100644 --- a/doc/api/webcrypto.md +++ b/doc/api/webcrypto.md @@ -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;