The Evolution of the Cryptographic Hash Function in Blockchains