Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RandomSource

Index

Properties

Methods

Properties

isAvailable: boolean

Returns the availability of random source. A source can only be used if isAvailable returns true.

Methods

  • randomBytes(length: number): Uint8Array
  • Returns a byte array of the given length filled with random bytes.

    Parameters

    • length: number

    Returns Uint8Array

Generated using TypeDoc