Skip to content

Commit

Permalink
add commitment.md
Browse files Browse the repository at this point in the history
  • Loading branch information
themighty1 committed Nov 2, 2023
1 parent 3c73a68 commit 7777b7c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/mpc/commitments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Commitments

Here we illustrate the commitment scheme used to create authenticated commitments to the plaintext in scenarios where a general-purpose [`Notary`](/intro.html#tls-verification-with-a-general-purpose-notary) is used. (Note that this scheme is not used when the `Prover` proves directly to the `Verifier`)

A naive approach of extending the [`Encryption and Decryption`](/protocol/mpc-tls/encryption.html) steps to also compute a commitment (e.g. BLAKE3 hash) using MPC is too resource-intensive, prompting us to provide a more lightweight commitment scheme.

The high-level idea is that the `Prover` creates a commitment to the active plaintext encoding from the MPC protocol used for [`Encryption and Decryption`](/protocol/mpc-tls/encryption.html).

We also hide the amount of commitments (to preserve `Prover` privacy) by having the `Prover` commit to the Merkle tree of commitments.


![Commitment](/diagrams/encoding_commitment.svg)

0 comments on commit 7777b7c

Please sign in to comment.