UNPKG

423 BTypeScriptView Raw
1import { Engine } from "../types";
2/**
3 * An Engine that relies on the node-available
4 * `require('crypto').randomBytes`, which has been available since 0.58.
5 *
6 * See https://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback
7 *
8 * If unavailable or otherwise non-functioning, then `nodeCrypto` will
9 * likely `throw` on the first call to `next()`.
10 */
11export declare const nodeCrypto: Engine;