Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • HMACDRBG

Implements

  • RandomSource

Index

Constructors

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

    • _entropySource: RandomSource = defaultRandomSource
    • _hash: new () => Hash = SHA256
        • new (): Hash
        • Returns Hash

    • _personalization: Uint8Array = ...
    • _reseedInterval: number = RESEED_INTERVAL

    Returns HMACDRBG

Accessors

  • get isAvailable(): boolean
  • get isInstantiated(): boolean

Methods

  • randomBytes(length: number): Uint8Array

Generated using TypeDoc