SHA-256 is a cryptographic hash function.
Generates a 256-bit signatur for a text.
Used in Bitcoin "proof-of-work" (PoW)
1. The Bitcoin protocol uses the SHA-256 function for this purpose
2. So how is the lucky node decided on? It is the node that solves the block by finding a special input to the SHA256 hash function.
3. The Bitcoin address described at length earlier in this book is actually a hash of the public key, using the SHA256 and RIPEMD160 hash functions.
by tufs October 6, 2021
Get the SHA-256 mug.