Glossary · Technology

SHA-256

A standardised cryptographic hash function that calculates a 256-bit fingerprint from any data. Bitcoin uses it for mining and identifiers – and even hashes the block header twice in a row.

AlsoSHA256Secure Hash Algorithm 256SHA-256ddouble SHA-256

Updated 28 September 20263 sourcesMore terms starting with S

On the learning path: Stage 1 · Step 3 – How does Bitcoin work?

SHA-256 (‘Secure Hash Algorithm’, 256 bits) is specified by the US standards body NIST in FIPS 180-4. According to the standard, it should be computationally infeasible to find data that matches a given GlossaryHash (hash value)A fixed-length digital fingerprint that a hash function calculates from any data. Even the tiniest change produces a completely different value, and the original data can’t be worked out from the hash.On the learning path: Stage 1 · Step 3 – How does Bitcoin work? →In the glossary →, or two inputs with the same hash.[1] The result is usually written as 64 characters from 0–9 and a–f. There are 2²⁵⁶ possible values, a number with 78 digits.

Where Bitcoin uses SHA-256

  • Mining: The 80-byte block header is hashed twice – SHA-256 applied to the result of SHA-256, or SHA-256d for short. The hash must be less than or equal to the target.[2]
  • Linking: Every block header contains this double hash of the previous block header. Anyone who changes an old block therefore has to change all the block headers that follow as well.[2]
  • Identifiers and addresses: Transaction IDs are double SHA-256 hashes too. Many address formats are derived from the public key using SHA-256 and RIPEMD-160.[3]

What this means for you

You never apply SHA-256 yourself; your wallet and the GlossaryNodeA computer that runs Bitcoin software and exchanges transactions and blocks with other nodes. Together, the nodes form the Bitcoin network; full nodes check every rule themselves.On the learning path: Stage 1 · Step 3 – How does Bitcoin work? →In the glossary → do that. What matters is the asymmetry: all miners together find a matching block header only about once every ten minutes on average – at a current rate of around 969 EH/s (EH/s: quintillions of hashes per second). Any node can check that it matches with a single double hash in a fraction of a second. That’s why falsifying the blockchain after the fact is so expensive.

Related terms

These terms are closely connected.

Explained in depth

These articles go into more detail:

More from „Technology“

Sources3 sources · 2 publishers

The superscript numbers in the text refer to these sources.

  1. FIPS 180-4: Secure Hash Standard (SHS) – National Institute of Standards and Technology (NIST), August 2015 (accessed 28/09/2026)
  2. Developer Reference: Block Chain (Block Headers) – bitcoin.org Developer Documentation (accessed 28/09/2026)
  3. Developer Reference: Transactions (TXID, address conversion) – bitcoin.org Developer Documentation (accessed 28/09/2026)

This entry is for education only and is not investment, tax or legal advice.

Keyboard shortcuts

⌘K /
Open search
`
Open Bitcoin terminal
T
Toggle light/dark
?
This help

Tip: type “help” in the terminal.

Pre-launch

We’re still building – block by block.

Blockchain21 is already open, and you’re welcome to look around. We haven’t officially launched yet, though: some details are still missing, may change or don’t quite fit together yet.

Not finished yet

  • Email Messages to support@blockchain21.net don’t arrive yet. Until then, you can reach us by post – the address is in the legal notice.
  • Newsletter Sign-up opens once our mailbox is running.
  • Reader account Coming later. Until then, your browser keeps your progress.
  • Partners No partnership is active yet – providers are listed without ads.
  • Info pages The privacy policy still lacks some details.

Already in place: learning path, articles, glossary, calculators and live data.

Block 0 · Genesis — Bitcoin, too, began with block 0 As of 5 October 2026