A message authentication code (MAC) computes, from a key and a message, a tag that no one without the key can compute for a new message, even after seeing the tags of messages of its choice. HMAC is the MAC of RFC 2104 built from a hash function with blocks of bytes: , where the key is padded with zeros to bytes and , are the bytes 0x36 and 0x5C repeated times. Authenticated encryption gives both secrecy and integrity: the receiver either gets the plaintext or learns that the ciphertext was changed. AEAD (authenticated encryption with associated data) also authenticates data sent in the clear, such as a header.