How Midnight Keeps a Secret on a Public Blockchain: Hash Functions and Cryptographic Commitments Explained

A blockchain is supposed to be an open book that anyone can read. So how does Midnight let you prove you're over 18, prove you own something, or prove you paid a bill, without ever putting your birthdate, your identity, or your balance on that open book? The answer is two simple ideas doing almost all of the work: hash functions and cryptographic commitments. Once you understand them, the rest of how Midnight protects your privacy stops feeling like magic.

Found this useful?

Replies

Discussion

Join the discussion

Sign in with Google to reply. You stay on this article while you sign in.

No replies yet

Sign in with Google to start the discussion.

Support this workCardano · ADA

Support with ADA

If a post saved you time, a small tip keeps the writing independent.

addr1qy7w8dvq0…p9gquyz5en

On-chain tips via smart contract coming soon.

Newsletter

New blocks, straight to your inbox.

New articles on web3, smart contracts and decentralized systems, plus a short weekly roundup when there is something new. No spam, and you can unsubscribe in one click.

FreeNo spam1-click unsubscribe