What a hash is
A hash function takes data of almost any size and turns it into a fixed-length string of letters and numbers, called a hash or digest.
Anyone can hash the same data and get the same result, which shows the data has not changed. Change a single bit, and the result is completely different.
Try it below. The second box starts with one character changed.
Try it
Worked out in your browser. Nothing you type or choose is sent anywhere.
SHA-256 fingerprint
…
SHA-256 fingerprint
…
…
- Source: NISTIR 8202: Blockchain Technology Overview, US National Institute of Standards and Technology (Yaga, Mell, Roby, Scarfone) (Oct 2018), section 3.1 and table 1 · read 21 Oct 2026
- Source: FIPS 180-4: Secure Hash Standard (SHS), US National Institute of Standards and Technology (Aug 2015) · read 21 Oct 2026
Technical detail
The function used here is SHA-256. It gives 256 bits (32 bytes), usually written as 64 hexadecimal characters. It is specified in FIPS 180-4.
NIST's own example: the SHA-256 of Hello, World! is dffd6021bb2bd5b0af676290809ec3a53191dd81c7f70a4b28688a362182986f. The box below gives the same.
The text is turned into bytes as UTF-8 before it is hashed, so the same words typed on another computer give the same hash.