Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/x12/deps.ts>crypto.randomInt

ASC X12 parser, generator, query engine, and mapper; now with support for streams.
Latest
function crypto.randomInt
Re-export
import { crypto } from "https://deno.land/x/x12@1.8.0-1/deps.ts";
const { randomInt } = crypto;

Parameters

max: number

Returns

number

Parameters

min: number
max: number

Returns

number

Parameters

max: number
cb: (err: Error | null, n?: number) => void

Parameters

min: number
max: number
cb: (err: Error | null, n?: number) => void