Related Tools

Online CMAC (Cipher based Message Authentication Code) calculation tool, supporting the use of AES, DES, SM4 and other algorithms to calculate CMAC values. Input and output support string, hex, base64, binary formats.

CMAC (Cipher based Message Authentication Code) is a password based MAC generation algorithm, It is based on block cipher algorithms (such as AES) and a key to generate message authentication codes to provide integrity and authenticity verification of messages.

- Encrypt Algorithm : The algorithm used for CMAC encryption calculation, this tool supports the use of AES, DES, SM4 algorithms for block encryption calculation. The block size of AES is 128 bits, DES is 64 bits, and SM4 is 128 bits.
- Input Format, Password Format, Result Format : This tool supports string, hex, base64, and binary formats for corresponding data formats. The binary format is a string composed of 0 and 1.
- Charset : When input content or password in string format, character set parameters are required.
- Password : The password used for block encryption. AES encryption requires a key length of 128, 192 or 256 bits. DES encryption requires a key length of 64 bits. SM4 encryption requires a key length of 128 bits.
- This tool has a certain frequency limit, please use this tool reasonably. Anonymous : 30/IP*Hour, Normal user : 30/Hour, VIP : 720/Hour, Senior VIP : 720/Hour.