security · architecture

Cryptographic hash function

PathTerms

Definition

A cryptographic hash function is a mathematical algorithm that takes an input of any size and produces a fixed-size string of characters, known as a hash or digest. This process is designed to be a one-way street, meaning it's computationally infeasible to reverse the hash to find the original input. In practice, hash functions are used to create a unique fingerprint for data, allowing for quick verification of its integrity. This is crucial for ensuring that data has not been tampered with during transmission or storage. For instance, when downloading software, a hash value provided by the vendor can be compared to the hash of the downloaded file to confirm its authenticity. Unlike encryption, hashing does not hide the data itself but rather provides a way to check if the data has changed. This concept is fundamental to cybersecurity and appears on exams like CompTIA Security+ and CISSP.

Related terms

Related course suggestions

Related PathKey™ guides