playblockchain.io

Learn more

Optimized for Laptops on Chrome

An Education tool for Boston College

Build Your Own
Blockchain

Simulate a blockchain network

Enter
Learn more

SHA-256

The SHA-256 Algorithm is a one way cryptographic function that takes a message as input and produces a hexadecimal hash of length 64 as output. Bitcoin uses SHA-256 to generate hashes from data.

Integer

The SHA-256 hash is mapped to a number from 0 to 2^256. All permutations of data have a unique* mapping to a value from 0 to 2^256.

x 100

The Bitcoin protocol determines a difficulty. If the hash falls within the range of the difficulty, the block is accepted. The proof-of-work is done.

50%
0%

0

100%

2^256