Skip to content

Message Authentication Code (MAC)

A Message Authentication Code (MAC) is a cryptographic concept used within the Java Cryptography Architecture (JCA) and Java Cryptography Extension (JCE) to ensure data integrity and authenticity.^[600-developer-tools-security-java-security-jca-jce.md]

Context in Java Security

The MAC is categorized alongside other fundamental security services provided by the JCA and JCE frameworks, such as encryption, decryption, message digests, and authentication.^[600-developer-tools-security-java-security-jca-jce.md] It serves as a specific mechanism for verifying that a message has not been altered.

Sources

  • 600-developer-tools-security-java-security-jca-jce.md