From 849991c6c47a0e05365feb4c9b1fb841924a5192 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Mon, 14 Feb 2022 17:14:49 +0100 Subject: crypto: expose Web Crypto API on the global scope MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/41938 Refs: https://developer.mozilla.org/en-US/docs/Web/API/crypto_property Refs: https://github.com/nodejs/node/pull/41782 Refs: https://w3c.github.io/webcrypto Reviewed-By: James M Snell Reviewed-By: Michaƫl Zasso Reviewed-By: Filip Skokan --- doc/api/crypto.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/api/crypto.md') diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 0e56f12a6fd..e5b83eb4ff5 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -41,6 +41,8 @@ calling `require('crypto')` will result in an error being thrown. When using CommonJS, the error thrown can be caught using try/catch: + + ```cjs let crypto; try { -- cgit v1.2.3