Foundations of Blockchain
上QQ阅读APP看书,第一时间看更新

Linking blocks using an SHA256 hashing algorithm

Blocks in the blockchain are chained together by referencing the hash values of previous blocks. SHA256 is the most popular hashing algorithm used in the blockchain platform since it was used in the Bitcoin implementation. Firstly, we will define the structure and functionality of the blocks, before finally constructing the blockchain with the help of the hashing algorithm.