Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HmacSha256

Hierarchy

  • HmacSha256

Index

Constructors

constructor

  • Parameters

    • key: Uint8Array

    Returns HmacSha256

Properties

blockSize

blockSize: number = this.inner.blockSize

digestLength

digestLength: number = this.inner.digestLength

Private inner

inner: Sha256 = new Sha256()

Private istate

istate: Uint32Array

Private ostate

ostate: Uint32Array

Private outer

outer: Sha256 = new Sha256()

Methods

clean

  • clean(): void
  • Returns void

digest

  • digest(): Uint8Array
  • Returns Uint8Array

finish

  • finish(out: Uint8Array): this
  • Parameters

    • out: Uint8Array

    Returns this

reset

  • reset(): this
  • Returns this

update

  • update(data: Uint8Array): this
  • Parameters

    • data: Uint8Array

    Returns this