blockchain

What is Hash?

A fixed-length string of characters produced by a cryptographic hash function from input data of any size. Hashes are used extensively in blockchain to link blocks, verify data integrity, and secure transactions. Even a tiny change in input produces a completely different hash output.

A cryptographic hash function takes any input data and produces a fixed-length output (the hash or digest) that appears random but is deterministic — the same input always produces the same output. In blockchain, hashes serve as digital fingerprints that link blocks together, verify transaction integrity, and form the basis of mining in proof-of-work systems. Bitcoin uses SHA-256 while Ethereum uses Keccak-256.

The key properties of cryptographic hashes make them ideal for blockchain: they are one-way (you cannot reverse-engineer the input from the output), collision-resistant (finding two inputs that produce the same hash is practically impossible), and avalanche-sensitive (changing a single bit of input completely changes the output). These properties ensure that blockchain data cannot be tampered with without detection.

Key Facts

  • Bitcoin uses the SHA-256 hash function; Ethereum uses Keccak-256.
  • A hash is always the same fixed length regardless of input size.
  • Changing even one character of input produces a completely different hash.
  • Hash functions are one-way — you cannot derive the original data from a hash.

Frequently Asked Questions

What is a hash in cryptocurrency?

A hash is a fixed-length string produced by a cryptographic function from any input data. In crypto, hashes link blocks together, verify data integrity, and are central to proof-of-work mining. They act as digital fingerprints for blockchain data.

Why are hashes important for blockchain security?

Hashes make blockchains tamper-proof. If someone changes any data in a block, the hash changes, breaking the chain link to the next block. This means altering historical data requires recomputing every subsequent block, which is computationally infeasible.

What is hash rate?

Hash rate measures the computational power used for mining on a proof-of-work network. Higher hash rates mean more security, as it becomes harder for any single entity to control enough computing power to attack the network.

Something new is coming

gpu is building a new way to trade crypto. Join the waitlist to be first in line.

Related terms

gpu

Join the waitlist

Sign up to be the first to know when gpu launches.