narodnik 5 жил өмнө
parent
commit
a300de3aba

+ 1 - 1
scripts/zk/3.4-restricted-polynomial.py

@@ -5,7 +5,7 @@ from bls_py.fields import Fq, Fq2, Fq6, Fq12, bls12381_q as Q
 import random
 import numpy as np
 
-# Section 3.3.4 from "Why and How zk-SNARK Works"
+# Section 3.4 from "Why and How zk-SNARK Works"
 
 def rand_scalar():
     return random.randrange(1, bls12381.q)

+ 1 - 1
scripts/zk/3.5-zero-knowledge.py

@@ -5,7 +5,7 @@ from bls_py.fields import Fq, Fq2, Fq6, Fq12, bls12381_q as Q
 import random
 import numpy as np
 
-# Section 3.3.4 from "Why and How zk-SNARK Works"
+# Section 3.5 from "Why and How zk-SNARK Works"
 
 def rand_scalar():
     return random.randrange(1, bls12381.q)

+ 1 - 1
scripts/zk/3.6-trusted-setup.py

@@ -5,7 +5,7 @@ from bls_py.fields import Fq, Fq2, Fq6, Fq12, bls12381_q as Q
 import random
 import numpy as np
 
-# Section 3.3.4 from "Why and How zk-SNARK Works"
+# Section 3.6 from "Why and How zk-SNARK Works"
 
 def rand_scalar():
     return random.randrange(1, bls12381.q)