Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RandomBytesSource

Implement this to use a custom async random source

Hierarchy

  • RandomBytesSource

Callable

  • __call(length: number): Promise<Uint8Array>
  • Implement this to use a custom async random source

    Parameters

    • length: number

      is the length of the Random Bytes requested.

    Returns Promise<Uint8Array>

    a Promise returning a Uint8Array

Generated using TypeDoc