Global Feed Post Login
Replying to Avatar Schmidt

How Pedersen Commitments Work

In Monero, Pedersen Commitments are a core component to hide transaction amounts while still allowing for cryptographic verification that no coins are created or destroyed in a transaction.

A Pedersen Commitment to a value v (the amount) with a random blinding factor r is:

C = v ⋅ H + r ⋅ G

C: The commitment

G, H: Generator points on the elliptic curve (with H unrelated to G)

v: The amount (hidden)

r: A random blinding factor (also hidden)

This commitment is:

Hiding: You can’t determine v from C without knowing r

Binding: You can't change v later without altering the commitment

Avatar
Martijn 7mo ago

nostr:nprofile1qqstlcl3lcdn2uj4ckgkyql30ftm3tc0ncfyvugujd6tutmptw2u3tqpp3mhxue69uhkyunz9e5k7qg4waehxw309ajkgetw9ehx7um5wghxcctwvs2d6cwc

Reply to this note

Please Login to reply.

Discussion

No replies yet.