Designing Blockchain #3: Cryptography and Wallets
dev.to·17h·
Discuss: DEV
Flag this post

Intro

In the previous article, we explored how blockchain manages accounts and state transitions through transactions. However, we left a critical security gap: anyone could create a transaction claiming to be from any account. This article addresses that fundamental problem by introducing cryptographic signatures and wallets, the mechanisms that prove ownership and secure transactions on the blockchain.

Cryptographic Primitives

Let’s dive into the cryptographic foundations. From the first article, we learned about hash functions. To recap: a hash function is a cryptographic algorithm that transforms any input into …

Similar Posts

Loading similar posts...