From 1c8a80a26795499b009b3d1e7263426da66dbd18 Mon Sep 17 00:00:00 2001 From: curryrasul Date: Thu, 29 Sep 2022 16:07:58 +0000 Subject: [PATCH] deploy: 56ce25ea0d09c30dfd582337fe2096edb3050dfe --- 404.html | 2 +- about.html | 7 +- code.html | 10 +-- concepts.html | 2 +- how_to_use.html | 179 -------------------------------------------- images/logo.svg | 88 ++++++++++++++++++++++ index.html | 7 +- print.html | 8 +- references.html | 2 +- rln_circuit.html | 2 +- searchindex.js | 2 +- searchindex.json | 2 +- sss.html | 2 +- terminology.html | 2 +- theory.html | 6 +- under_the_hood.html | 2 +- uses.html | 2 +- what_is_rln.html | 2 +- 18 files changed, 119 insertions(+), 208 deletions(-) delete mode 100644 how_to_use.html create mode 100644 images/logo.svg diff --git a/404.html b/404.html index 44743d5..8f6e7e7 100644 --- a/404.html +++ b/404.html @@ -76,7 +76,7 @@ diff --git a/about.html b/about.html index 870014d..76d8e2b 100644 --- a/about.html +++ b/about.html @@ -75,7 +75,7 @@ @@ -135,8 +135,9 @@

About

-

RLN (Rate-Limiting Nullifier) is part of Privacy & Scaling Explorations (PSE), a multidisciplinary team supported by the Ethereum Foundation. PSE explores new use cases for zero knowledge proofs and other cryptographic primitives.

-

appliedzkp.org

+

RLN (Rate-Limiting Nullifier) is part of (PSE) Privacy & Scaling Explorations, a multidisciplinary team supported by the Ethereum Foundation. PSE explores new use cases for zero knowledge proofs and other cryptographic primitives.

+

alt text

+

RLN team is working on the protocol (having the same name), implementations and different applications of it.

diff --git a/code.html b/code.html index c624ff9..768bbbd 100644 --- a/code.html +++ b/code.html @@ -3,7 +3,7 @@ - Code - Rate-Limiting Nullifier + Usage - Rate-Limiting Nullifier @@ -75,7 +75,7 @@ @@ -134,7 +134,7 @@
-

Code

+

Usage

@@ -143,7 +143,7 @@ -
@@ -155,7 +155,7 @@ - diff --git a/concepts.html b/concepts.html index a6ae68c..6b39cda 100644 --- a/concepts.html +++ b/concepts.html @@ -75,7 +75,7 @@ diff --git a/how_to_use.html b/how_to_use.html deleted file mode 100644 index 7463161..0000000 --- a/how_to_use.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - Usage - Rate-Limiting Nullifier - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - -
-
-

Usage

- -
- - -
-
- - - -
- - - - - - - - - - - - - - diff --git a/images/logo.svg b/images/logo.svg new file mode 100644 index 0000000..41f8e34 --- /dev/null +++ b/images/logo.svg @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/index.html b/index.html index 870014d..76d8e2b 100644 --- a/index.html +++ b/index.html @@ -75,7 +75,7 @@ @@ -135,8 +135,9 @@

About

-

RLN (Rate-Limiting Nullifier) is part of Privacy & Scaling Explorations (PSE), a multidisciplinary team supported by the Ethereum Foundation. PSE explores new use cases for zero knowledge proofs and other cryptographic primitives.

-

appliedzkp.org

+

RLN (Rate-Limiting Nullifier) is part of (PSE) Privacy & Scaling Explorations, a multidisciplinary team supported by the Ethereum Foundation. PSE explores new use cases for zero knowledge proofs and other cryptographic primitives.

+

alt text

+

RLN team is working on the protocol (having the same name), implementations and different applications of it.

diff --git a/print.html b/print.html index c51230a..33d5e7e 100644 --- a/print.html +++ b/print.html @@ -76,7 +76,7 @@ @@ -136,8 +136,9 @@

About

-

RLN (Rate-Limiting Nullifier) is part of Privacy & Scaling Explorations (PSE), a multidisciplinary team supported by the Ethereum Foundation. PSE explores new use cases for zero knowledge proofs and other cryptographic primitives.

-

appliedzkp.org

+

RLN (Rate-Limiting Nullifier) is part of (PSE) Privacy & Scaling Explorations, a multidisciplinary team supported by the Ethereum Foundation. PSE explores new use cases for zero knowledge proofs and other cryptographic primitives.

+

alt text

+

RLN team is working on the protocol (having the same name), implementations and different applications of it.

Concepts

This section is a starting point for understanding the concepts of RLN.

What is Rate-Limiting Nullifier?

@@ -210,7 +211,6 @@

RLN Overview

RLN Spec

VAC RLN Spec

-

Code

Usage

Theory

Shamirs Secret Sharing Scheme

diff --git a/references.html b/references.html index a2a040e..8da5bb5 100644 --- a/references.html +++ b/references.html @@ -75,7 +75,7 @@ diff --git a/rln_circuit.html b/rln_circuit.html index 62c7f46..2ddbaf7 100644 --- a/rln_circuit.html +++ b/rln_circuit.html @@ -75,7 +75,7 @@ diff --git a/searchindex.js b/searchindex.js index f75ebb8..8dddff9 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Object.assign(window.search, {"doc_urls":["about.html#about","concepts.html#concepts","what_is_rln.html#what-is-rate-limiting-nullifier","uses.html#uses","terminology.html#terminology","under_the_hood.html#under-the-hood","rln_circuit.html#circom-circuit-for-rln","references.html#references","code.html#code","how_to_use.html#usage","theory.html#theory","sss.html#shamirs-secret-sharing-scheme"],"index":{"documentStore":{"docInfo":{"0":{"body":25,"breadcrumbs":0,"title":0},"1":{"body":6,"breadcrumbs":2,"title":1},"10":{"body":0,"breadcrumbs":2,"title":1},"11":{"body":239,"breadcrumbs":8,"title":4},"2":{"body":11,"breadcrumbs":5,"title":3},"3":{"body":0,"breadcrumbs":3,"title":1},"4":{"body":185,"breadcrumbs":3,"title":1},"5":{"body":0,"breadcrumbs":5,"title":2},"6":{"body":107,"breadcrumbs":8,"title":3},"7":{"body":11,"breadcrumbs":3,"title":1},"8":{"body":0,"breadcrumbs":2,"title":1},"9":{"body":0,"breadcrumbs":3,"title":1}},"docs":{"0":{"body":"RLN (Rate-Limiting Nullifier) is part of Privacy & Scaling Explorations (PSE), a multidisciplinary team supported by the Ethereum Foundation. PSE explores new use cases for zero knowledge proofs and other cryptographic primitives. appliedzkp.org","breadcrumbs":"About » About","id":"0","title":"About"},"1":{"body":"This section is a starting point for understanding the concepts of RLN.","breadcrumbs":"Concepts » Concepts","id":"1","title":"Concepts"},"10":{"body":"","breadcrumbs":"Theory » Theory","id":"10","title":"Theory"},"11":{"body":"Shamirs Secret Sharing allows to split the secret to n parts and restore it upon presentation any m parts (m <= n) Sharmir's Secret Sharing wikipedia is a good reference to understand the concept. Reconstruction 1: https://github.com/akinovak/semaphore-lib/blob/5b9bb3210192c8e508eced7ef6579fd56e635ed0/src/rln.ts#L31 retrievePrivateKey(x1: bigint, x2:bigint, y1:bigint, y2:bigint): Buffer | ArrayBuffer { const slope = Fq.div(Fq.sub(y2, y1), Fq.sub(x2, x1)) const privateKey = Fq.sub(y1, Fq.mul(slope, x1)); return bigintConversion.bigintToBuf(Fq.normalize(privateKey)); } Reconstruction 2: https://github.com/akinovak/semaphore-lib/blob/rln_signature_changes/test/index.ts#L250 async function testRlnSlashingSimulation() { RLN.setHasher('poseidon'); const identity = RLN.genIdentity(); const privateKey = identity.keypair.privKey; const leafIndex = 3; const idCommitments: Array = []; for (let i=0; i = []; for (let i=0; i = []; for (let i=0; i = []; for (let i=0; i diff --git a/terminology.html b/terminology.html index b56f53b..d3e623a 100644 --- a/terminology.html +++ b/terminology.html @@ -75,7 +75,7 @@ diff --git a/theory.html b/theory.html index 308c2da..67830ce 100644 --- a/theory.html +++ b/theory.html @@ -75,7 +75,7 @@ @@ -140,7 +140,7 @@