Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • HMACDRBG

Implements

  • RandomSource

Index

Constructors

Properties

Methods

Constructors

constructor

  • new HMACDRBG(_entropySource?: RandomSource, _hash?: object, _personalization?: Uint8Array, _reseedInterval?: number): HMACDRBG
  • Parameters

    • Default value _entropySource: RandomSource = defaultRandomSource
    • Default value _hash: object = SHA256
    • Default value _personalization: Uint8Array = new Uint8Array(0)
    • Default value _reseedInterval: number = RESEED_INTERVAL

    Returns HMACDRBG

Properties

isAvailable

isAvailable: boolean = false

isInstantiated

isInstantiated: boolean = false

Methods

randomBytes

  • randomBytes(length: number): Uint8Array

Generated using TypeDoc