Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CMAC

CMAC message authentication code using a 128-bit block cipher.

Hierarchy

  • CMAC

Index

Constructors

Properties

Methods

Constructors

constructor

  • new CMAC(cipher: BlockCipher): CMAC
  • Constructs a new CMAC instance with the given 128-bit block cipher.

    Parameters

    • cipher: BlockCipher

    Returns CMAC

Properties

blockSize

blockSize: 16 = 16

digestLength

digestLength: 16 = 16

Methods

clean

  • clean(): void

digest

  • digest(): Uint8Array

finish

  • finish(out: Uint8Array): this

reset

  • reset(): this

update

  • update(data: Uint8Array): this

Generated using TypeDoc