Pedersen commitments
tl;dr: Pedersen commitments [^Pede91Comm] are one of the most important cryptographic primitives for a beginner to understand, in my opinion.
$ $
Algorithms
Pick two random group elements in as the commitment key:
It is crucial that this is done correctly such that nobody knows such that .
Return:
Parse the commitment key:
Commit:
The randomness must be picked freshly for every ! Committing to different messages and using the same randomness would leak! i.e., Given a commitment and another commitment with the same randomness, one can subtract and obtain which leaks the difference!
Security
Binding
We are going to loosely define binding as the property that guarantees no adversary that is given a correctly set up and a commitment can find two different openings and such that they both commit as .
It is easy to show by contradiction that such an adversary would yield another adversary that can solve discrete logorithms on random instances.
Proof: Suppose that
Conclusion
This post has an associated tweet:
I think Pedersen commitments are a gentle starting point for teaching cryptography to anyone!
A **commitment** is a sealed envelope with a message m in it such that:
- no one can tell what m is in it (hiding)
- no one can open it to a different m (binding)
Pedersen below 👇 pic.twitter.com/OVQ76kXAFF
— alin.apt (@alinush) November 3, 2025
References
For cited works, see below 👇👇
[^Pede91Comm]: Non-Interactive and Information-Theoretic Secure Verifiable Secret Sharing, by Pedersen, Torben Pryds, in Proceedings on Advances in Cryptology, 1992