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

Constructors

  • Constructs a new CMAC instance with the given 128-bit block cipher.

    Parameters

    Returns CMAC

Properties

blockSize: 16 = 16
digestLength: 16 = 16

Methods

  • Returns the final CMAC digest.

    Returns Uint8Array

  • Parameters

    • out: Uint8Array

    Returns this

  • Parameters

    • data: Uint8Array

    Returns this