From fb88257b72bb6aba8f7c30cf78917299647697fe Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Fri, 18 Sep 2020 01:52:51 +0200 Subject: [PATCH] doc: update crypto.createSecretKey accepted types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/35246 Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 8bd2253908867f..12eaa39ac5b2c6 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -2062,7 +2062,7 @@ and it will be impossible to extract the private key from the returned object. added: v11.6.0 --> -* `key` {Buffer} +* `key` {Buffer | TypedArray | DataView} * Returns: {KeyObject} Creates and returns a new key object containing a secret key for symmetric