ElGamal homomorphic encryption on Curve25519.
NOTES:
nightly
only to ensure some level of constant-time-ness. More info here and here.To install the library add in your Cargo.toml:
```toml
[dependencies] elgamal-curve25519 = "0.1" ```
To use the library just add in the root of your crate:
```rust // rootfilename.rs
extern crate elgamalcurve25519; // old style
// or just use use
, which can be used in any file of your project
use elgamalcurve25519; // new style
```
At the moment see the tests for more information on how to use it in practice.
This project is license under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in elgamal-curve25519 by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.