Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

_crypto

import { _crypto } from "https://raw.githubusercontent.com/i-xi-dev/bytes.es/4.4.2/deps.ts";

If the globalThis has a crypto, or if the node:crypto package has a webcrypto, then the Crypto object. Otherwise referencing it will throw a ReferenceError.

  • Browser References the globalThis.crypto

  • Deno References the globalThis.crypto

  • Node.js 19.0+ References the globalThis.crypto

  • Node.js 15.0+ References the webcrypto of node:crypto package

let _crypto: Crypto;