In the previous chapters, we introduced cryptography that are relevant to blockchain. Although we have a clear understanding of some of these cryptographic primitives, we haven't explored their applications in a real blockchain application. In this chapter, we will cover some of the applications of cryptographic primitives, which will include hash functions and digital signatures. We will cover them in-depth by actually implementing them in a basic blockchain application.
In this chapter, we'll cover the following topics:
- Hashing in blockchain
- Digital signatures in blockchain
One thing to note is that each cryptographic primitive that is used with blockchain technology has a distinct role. Hash functions and digital signatures are two concepts of cryptography that are extensively used with blockchain.
We can mainly observe three layers in...