← GlossaryGlossary

Hash

A fixed-length fingerprint of any data. Change one character of the data and the hash changes completely.

A hash function, such as SHA-256, turns any input into a fixed-length string of characters. The same input always gives the same hash, but even a tiny change to the input gives a completely different one.

You can't work backwards from a hash to the data, or design data to get a particular hash. Blockchains use hashes to link blocks together and, in proof of work, as the basis of mining.