Wikipedia: "Message Authentication Code"

Read the linked article about message authentication code. Make sure you understand the examples in the article.