-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: lovesh <[email protected]>
- Loading branch information
Showing
8 changed files
with
30 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
<!-- cargo-rdme start --> | ||
|
||
A collection of utilities used by our other crypto libraries. Some examples are Pedersen commitment, | ||
Elgamal encryption, some finite field utilities like inner product, weighted inner product, hadamard product, | ||
etc, multiscalar multiplication (MSM) like Fixed Base MSM, polynomial utilities like multiplying polynomials, | ||
creating polynomial from roots, etc, efficient way of checking several pairing relations in a single multi-pairing. | ||
A collection of utilities used by our other libraries in this workspace. | ||
|
||
- Pedersen commitment | ||
- Elgamal encryption | ||
- finite field utilities like inner product, weighted inner product, hadamard product, etc. | ||
- multiscalar multiplication (MSM) like Fixed Base MSM | ||
- polynomial utilities like multiplying polynomials, creating polynomial from roots, etc. | ||
- An efficient way to check several equality relations involving pairings by combining the relations in a random linear combination and doing a multi-pairing check. Relies on Schwartz–Zippel lemma. | ||
- hashing utilities like hashing arbitrary bytes to field element or group element. | ||
- solving discrete log using Baby Step Giant Step algorithm | ||
|
||
<!-- cargo-rdme end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters