Skip to content

Function: cryptoSource() ​

ts
function cryptoSource(provider?): RandomSource;

Defined in: src/random.ts:19

The platform's cryptographic generator, buffered so a roll of ten dice is one call.

Parameters ​

provider? ​

CryptoLike | undefined

Returns ​

RandomSource

MIT © John Morris