Interface MacInformation

All Superinterfaces:
AlgorithmNameProvider
All Known Subinterfaces:
Mac, MacFactory
All Known Implementing Classes:
BaseMac, BuiltinMacs, Poly1305Mac

public interface MacInformation extends AlgorithmNameProvider
The reported algorithm name refers to the MAC being used
  • Method Details

    • getBlockSize

      int getBlockSize()
      Returns:
      MAC output block size in bytes - may be less than the default - e.g., MD5-96
    • getDefaultBlockSize

      int getDefaultBlockSize()
      Returns:
      The "natural" MAC block size in bytes
    • isEncryptThenMac

      default boolean isEncryptThenMac()