Skip to content

Commit c3ebffc

Browse files
committed
update readme for verenc
1 parent df81a35 commit c3ebffc

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

crates/verenc/README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11

22
## Introduction
3-
Implementation of the DKG-in-the-head (DKGitH) and Robust DKG-in-the-head (RDKGitH) verifiable encryption schemes.
3+
Implementation of the Robust DKG-in-the-head (RDKGitH) verifiable encryption scheme.
44

55
## Description
6-
These verifiable encryption (VE) schemes allow one to encrypt a discrete logarithm instance under an Elgamal public key and prove to anyone that the correct value is encrypted.
6+
This verifiable encryption (VE) scheme allows one to encrypt a discrete logarithm instance under an Elgamal public key and prove to anyone that the correct value is encrypted.
77

8-
We use the elliptic curve implementation of [`arkworks`](https://github.com/arkworks-rs), and our implementation defaults to using the `secp256r1` curve, but is generic over the choice of curve and can easily be modified used to other curves implemented in `arkworks`.
8+
We use the ed448-goldilocks-plus library for ed448, but it was converted from an arkworks implementation. There was also a significant performance issue in the original implementation it was forked from in the lagrange calculation – previously the numerator and denominator of the polynomial evaluation was calculated at every degree, incurring the cost of modular inversion with every degree. We defer inversion to the final step of the accumulated value, drastically increasing performance of compression.
99

1010
Hashing is done with SHA512, using the Rust [`sha2`](https://docs.rs/sha2/latest/sha2/) crate.
1111

@@ -17,11 +17,7 @@ To run unit tests type `cargo test --release`.
1717
Sizes of the proofs and ciphertexts for the two schemes are computed in unit tests, use the script `run_size_benchmarks.sh` to run the tests and display the output.
1818

1919
Benchmarks of the time required to run the main VE operations `Prove()`, `Verify()`, `Compress()` and `Recover()`
20-
are also provided, and can be run with `cargo bench`. To run only the DKGitH benchmarks, use
21-
```
22-
cargo bench -- "^DKGitH"
23-
```
24-
and to run only the RDKGitH benchmarks use
20+
are also provided, and can be run with `cargo bench`. To run the RDKGitH benchmarks use
2521
```
2622
cargo bench -- "^RDKGitH"
2723
```

0 commit comments

Comments
 (0)