AES-128 CMAC
时间: 2023-10-09 16:05:47 浏览: 32
AES-128 CMAC (Cipher-based message authentication code) is a cryptographic algorithm used for message authentication. It is based on the Advanced Encryption Standard (AES) block cipher and generates a fixed-length code, called a MAC, that is used to authenticate the message's integrity and authenticity.
The algorithm works by taking a message and encrypting it using the AES-128 block cipher with a secret key. The output of this encryption process is then processed further using a special MAC algorithm to produce a fixed-length authentication code that is unique to the message and the key used to encrypt it.
The resulting MAC can be used to verify the integrity and authenticity of the message, ensuring that it has not been tampered with or altered in any way. This makes AES-128 CMAC a popular choice for secure communication protocols, such as Wi-Fi, Bluetooth, and NFC, where data integrity is critical.