A hash is a fixed-length fingerprint calculated from any piece of data (a file, a password, a message) with a one-way mathematical function: the original data can't be recovered from the hash. It's used to store passwords without keeping them in plain text and to check that a file wasn't altered.
Related term in this glossary: Brute force attack
hash function, cryptographic hash, file checksum, SHA-256, MD5