How Does the ‘Proof-of-Work’ Consensus Mechanism Relate to SHA-256?
Proof-of-Work (PoW) uses SHA-256 to force miners to expend computational effort to find a valid block hash. Miners repeatedly hash the block header, changing a variable called the 'nonce', until the resulting SHA-256 hash meets a target difficulty (starts with a certain number of zeros).
This required computational work secures the network and validates transactions.