From 6ebf424abc53b1798827dfa33561233a58049ccb Mon Sep 17 00:00:00 2001 From: anshikakalpana Date: Wed, 13 May 2026 00:17:20 +0530 Subject: [PATCH] doc: fix crypto.sign and crypto.verify accepted types Signed-off-by: anshikakalpana --- doc/api/crypto.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 91cb32a1b9816f..9a905b90927e5e 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -6132,7 +6132,7 @@ changes: * `algorithm` {string | null | undefined} -* `data` {ArrayBuffer|Buffer|TypedArray|DataView} +* `data` {ArrayBuffer|Buffer|SharedArrayBuffer|TypedArray|DataView|string} * `key` {Object|string|ArrayBuffer|Buffer|TypedArray|DataView|KeyObject|CryptoKey} * `callback` {Function} * `err` {Error} @@ -6264,9 +6264,9 @@ changes: * `algorithm` {string|null|undefined} -* `data` {ArrayBuffer| Buffer|TypedArray|DataView} +* `data` {Buffer|TypedArray|DataView|string} * `key` {Object|string|ArrayBuffer|Buffer|TypedArray|DataView|KeyObject|CryptoKey} -* `signature` {ArrayBuffer|Buffer|TypedArray|DataView} +* `signature` {Buffer|TypedArray|DataView} * `callback` {Function} * `err` {Error} * `result` {boolean}