Class CMacWithIV

  • All Implemented Interfaces:
    Mac

    public class CMacWithIV
    extends CMac
    A non-NIST variant which allows passing of an IV to the underlying CBC cipher.

    Note: there isn't really a good reason to use an IV here, use the regular CMac where possible.

    • Constructor Detail

      • CMacWithIV

        public CMacWithIV​(BlockCipher cipher)
      • CMacWithIV

        public CMacWithIV​(BlockCipher cipher,
                          int macSizeInBits)