UNPKG

435 BTypeScriptView Raw
1import { Engine } from "../types";
2/**
3 * An Engine that relies on the globally-available `crypto.getRandomValues`,
4 * which is typically available in modern browsers.
5 *
6 * See https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues
7 *
8 * If unavailable or otherwise non-functioning, then `browserCrypto` will
9 * likely `throw` on the first call to `next()`.
10 */
11export declare const browserCrypto: Engine;