geneferneau / fischlin Goto Github PK
View Code? Open in Web Editor NEWFischlin NIZK proofs in pure Rust
Fischlin NIZK proofs in pure Rust
Fischlin proofs iterate over a range of T
-bit challenge values to find a hash s.t.:
Sum[i=0, R](Hash(x, commitment_vector, i, challenge[i], response[i])[..B/8]) <= S
where:
x
is a statement of the witness w
(here, a public-private secp256k1
keypair)commitment_vector
is the collection of commitments to randomness (here, rand*G
in secp256k1
)i
is the current index in the commitment vectorchallenge[i]
is the current T
-bit challengeresponse
is the current response from the Schnorr proof over the witness, randomness, and challengeS
is the maximum sum of the first B
-bits of the hash values interpreted as big-endian unsigned integerR
is the number of rounds to perform, with each round having independent commitments to fresh randomnessSearching for valid challenge
values is time consuming. However, the search can be parallelized, since each round is independent.
Split the inner Fischlin proof into an async
/ threaded function to parallelize the partial proofs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.