Home >

ProtectToolkit-J Reference Guide > Supported MAC Algorithms

  
Supported MAC Algorithms

The following MAC algorithms are available with the Provider through the javax.crypto.Mac interface:

DES MAC

DESede MAC

DESedeX919 MAC

IDEA MAC

CAST128 MAC

RC2

HMAC/MD2

HMAC/MD5

HMAC/SHA1

HMAC/SHA224

HMAC/SHA256

HMAC/SHA384

HMAC/SHA512

A sample code fragment for generating a MAC code is provided here:

Sample MAC Code