Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface randomValues

public

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

Hierarchy

  • randomValues

Callable

  • __call(byteLength: number): Promise<Uint8Array>
  • public

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

    Parameters

    • byteLength: number

    Returns Promise<Uint8Array>