2019-03-25 19:44:40 +00:00
---
2021-09-30 14:37:26 +00:00
summary: 'Pedersen commitments are cryptographic algorithms that allow a prover to commit to a certain value without revealing it or being able to change it'
2019-03-25 19:44:40 +00:00
terms: ["commitments", "commitment", "pedersen", "pedersen-commitment", "pedersen-commitments"]
---
2020-08-16 17:11:02 +00:00
{% include disclaimer.html translated="no" translationOutdated="no" %}
2021-09-30 14:37:26 +00:00
2019-03-25 19:44:40 +00:00
### The Basics
2021-09-30 14:37:26 +00:00
Pedersen commitments are cryptographic algorithms that allow a prover to
commit to a certain value without revealing it or being able to change it.
2019-03-25 19:44:40 +00:00
2021-09-30 14:37:26 +00:00
When you spend Monero, the value of the inputs that you are spending and the
value of the outputs you are sending are encrypted and opaque to everyone
except the recipient of each of those outputs. Pedersen commitments allow
you to send Monero without revealing the value of the transactions. Pedersen
commitments also make it possible for people to verify that transactions on
the blockchain are valid and not creating Monero out of thin air.
2019-03-25 19:44:40 +00:00
### What It Means
2021-09-30 14:37:26 +00:00
As long as the encrypted output amounts created, which include an output for
the recipient and a change output back to the sender, and the unencrypted
transaction fee is equal to the sum of the inputs that are being spent, it
is a legitimate transaction and can be confirmed to not be creating Monero
out of thin air.
Pedersen commitments mean that the sums can be verified as being equal, but
the Monero value of each of the sums and the Monero value of the inputs and
outputs individually are undeterminable. Pedersen commitments also mean that
even the ratio of one input to another, or one output to another is
undeterminable.
It is unclear which inputs are really being spent as the ring signature
lists both the real inputs being spent and decoy inputs, therefore you don't
actually know which input Pedersen commitments need to be summed. That's
okay, because the @RingCT ring signature only has to prove that for one
combination of the inputs the outputs are equal to the sum of the
inputs. For mathematical reasons, this is impossible to forge.
2019-03-25 19:44:40 +00:00
### In-depth Information
2021-09-30 14:37:26 +00:00
See information in [Ring Confidential Transactions
paper](https://eprint.iacr.org/2015/1098.pdf) by Shen Noether of the Monero
Research Lab.