Skip to content

Commit b089e46

Browse files
PronossMarcofann
authored andcommitted
squash
1 parent 5e17d77 commit b089e46

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

basis/commitments.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"source": [
104104
"# Pedersen commitment (hiding)\n",
105105
"\n",
106-
"There is a problem: Commiting to the same value yields the same commitment. This reveals something about the contained value!\n",
106+
"There is a problem: Committing to the same value yields the same commitment. This reveals something about the contained value!\n",
107107
"\n",
108108
"As a fix, we introduce a **random blinding factor** $r$.\n",
109109
"\n",
@@ -271,7 +271,7 @@
271271
"\n",
272272
"To commit to values $v_0$, $v_1$, $\\ldots$, $v_n$, we create the **single curve point** $\\text{Com}(v_0, v_1, \\ldots, v_n; r) = G_0 * v_0 + G_1 * v_1 + \\ldots + G_n * v_n + H * r$ where $r$ is random.\n",
273273
"\n",
274-
"Notice how the list of values is compressed inside a single curve point! The commitment is extremly space-efficient (constant size). Opening the commitment requires revealing the list of values and the blinding factor (linear size).\n",
274+
"Notice how the list of values is compressed inside a single curve point! The commitment is extremely space-efficient (constant size). Opening the commitment requires revealing the list of values and the blinding factor (linear size).\n",
275275
"\n",
276276
"The commitment is **hiding** because of the blinding factor.\n",
277277
"\n",

graph/three_coloring.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"\n",
1010
"In this chapter we construct a zero-knowledge protocol around graph colorability.\n",
1111
"\n",
12-
"This chaper was inspired by [a video by Numberphile](https://www.youtube.com/watch?v=5ovdoxnfFVc) and is based on [a lecture from the Max Plack Institute for Informatics](https://resources.mpi-inf.mpg.de/departments/d1/teaching/ss13/gitcs/lecture9.pdf)."
12+
"This chapter was inspired by [a video by Numberphile](https://www.youtube.com/watch?v=5ovdoxnfFVc) and is based on [a lecture from the Max Plack Institute for Informatics](https://resources.mpi-inf.mpg.de/departments/d1/teaching/ss13/gitcs/lecture9.pdf)."
1313
]
1414
},
1515
{
@@ -242,7 +242,7 @@
242242
" # Invalid coloring\n",
243243
" if colored_edge[0].value() == colored_edge[1].value():\n",
244244
" return False\n",
245-
" # Openened colors correspond to commitments\n",
245+
" # Opened colors correspond to commitments\n",
246246
" if not colored_edge[0].verify(self.commitments[self.edge[0]]):\n",
247247
" return False\n",
248248
" if not colored_edge[1].verify(self.commitments[self.edge[1]]):\n",

0 commit comments

Comments
 (0)