UNPKG

374 BTypeScriptView Raw
1import { Engine } from "../types";
2/**
3 * Returns an array of random int32 values, based on current time
4 * and a random number engine
5 *
6 * @param engine an Engine to pull random values from, default `nativeMath`
7 * @param length the length of the Array, minimum 1, default 16
8 */
9export declare function createEntropy(engine?: Engine, length?: number): number[];