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

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

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

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