Proof-of-work is the blockchain-based algorithm that secures many cryptocurrencies, including Bitcoin and Ethereum.