Hashes

Until now, we have explored the concepts that make up a transaction and how you can send transactions yourself. One of these concepts is that transactions are signed. When a transaction is signed, it generates a hash or digital signature that is based on the content of the transaction. The hash verifies that the data sent in a transaction is not compromised or has not changed during its travel.

A hash is calculated by executing a hash function, which is called hashing. Before I go into the detail of the hash functions that are used within different blockchains, I'm first going to take you through the concept of such functions. A hash function takes any input data, and produces an output, which, based on the algorithm used, has a different ...

Get Blockchain across Oracle now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.