Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.Crypto

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.Crypto
import { type dom } from "https://deno.land/x/evt@v2.4.18/lib/types/index.ts";
const { Crypto } = dom;

Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.

Properties

readonly
subtle: SubtleCrypto

Methods

getRandomValues<T extends
| Int8Array
| Int16Array
| Int32Array
| Uint8Array
| Uint16Array
| Uint32Array
| Uint8ClampedArray
| Float32Array
| Float64Array
| null
>
(array: T): T