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

x/deno/ext/crypto/lib.deno_crypto.d.ts>Crypto

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Crypto
import { type Crypto } from "https://deno.land/x/deno@v1.39.0/ext/crypto/lib.deno_crypto.d.ts";

Properties

readonly
subtle: SubtleCrypto

Methods

getRandomValues<T extends
| Int8Array
| Int16Array
| Int32Array
| Uint8Array
| Uint16Array
| Uint32Array
| Uint8ClampedArray
| BigInt64Array
| BigUint64Array
>
(array: T): T
randomUUID(): string
variable Crypto
import { Crypto } from "https://deno.land/x/deno@v1.39.0/ext/crypto/lib.deno_crypto.d.ts";

type

{ readonly prototype: Crypto; new (): never; }