A mathematical function that converts a message into a fixed length output, used for data integrity and authentication.