Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RandomSource

Hierarchy

  • RandomSource

Implemented by

Index

Properties

Methods

Properties

isAvailable

isAvailable: boolean

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

Methods

randomBytes

  • randomBytes(length: number): Uint8Array
  • Fill out with random bytes and return it.

    Parameters

    • length: number

    Returns Uint8Array

Generated using TypeDoc