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

x/deno/cli/js/get_random_values.ts

A modern runtime for JavaScript and TypeScript.
Go to Latest
import * as deno from "https://deno.land/x/deno@v0.30.0/cli/js/get_random_values.ts";

Functions

Synchronously collects cryptographically secure random values. The underlying CSPRNG in use is Rust's rand::rngs::ThreadRng.