Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface randomValues

A function that returns a promise fulfilled with bytes from a cryptographically secure pseudorandom number generator.

Hierarchy

  • randomValues

Callable

  • __call(byteLength: number): Promise<Uint8Array>
  • A function that returns a promise fulfilled with bytes from a cryptographically secure pseudorandom number generator.

    Parameters

    • byteLength: number

    Returns Promise<Uint8Array>