Transactions, blockchain and network

Card 84

Transactions, blockchain and network
Card 84
Topic 7 · Transactions, blockchain and network · Navigator

What is a hash?

Card answer

Correct answer

Answer A: A digital fingerprint of data.

Quick explanation

Bitcoin uses SHA-256, among other functions. Even a small change in the data produces a completely different hash. This makes it useful as a digital fingerprint for checking data.

Detailed explanation

SHA-256 means Secure Hash Algorithm with a 256-bit result. 256 bits equal 32 bytes, represented as 64 characters in the usual hexadecimal notation. The same input data produce the same hash, while even a small change typically produces a completely different result. Recovering the original data from the hash is intended to be practically infeasible.

A hash is not encryption or a compressed copy. There is no secret key that decrypts SHA-256. Bitcoin uses double SHA-256 in important places: data are hashed once with SHA-256, then the result is hashed again. This produces, among other things, traditional transaction identifiers, block-header hashes and links in the Merkle tree.

In mining, miners seek a block-header hash below the current target. The previous block's hash in the next header makes later alterations visible. SHA-256 is central but not Bitcoin's only hash construction; other methods and combinations are used for different purposes.

Example or everyday application

Changing just one number in a transaction produces a different transaction identifier after double SHA-256. A stored reference to the old identifier no longer matches.

Common misconception

SHA-256 is often equated with encryption, compression or Bitcoin's only hash function. SHA-256 is neither encryption nor compression, and it is not the only hash function used in Bitcoin.

Sources used

Primary source · EN · Technical source

NIST FIPS 180-4 - Secure Hash Standard

HTTPS: YESChecked: 19.09.2026REACHABLE

This source is mainly intended for developers. The relevant information may therefore be harder to find.

Check original source
Supplementary source · EN · Technical source

Bitcoin Developer Reference - Block Chain and Transactions

HTTPS: YESChecked: 19.09.2026REACHABLE

This source is mainly intended for developers. The relevant information may therefore be harder to find.

Check original source