An appendage to a message that indicates to the recipient whether the message has been tampered with during transit. Authentication codes can be derived cryptographically as a function of the message using either public key encryption or a secret key held by the sender and recipient. See also cryptography.