Skip to content

Function: randomBytes()

Documentation / @wtf/platform / random / randomBytes

function randomBytes(length, __namedParameters): Uint8Array<ArrayBuffer>;

Defined in: packages/platform/src/random.ts:78

length random bytes, a quota a call: randomBytes(32, platform).

Parameters

ParameterType
lengthnumber
__namedParametersRandomSource

Returns

Uint8Array<ArrayBuffer>