elgamal-curve25519

Crates.ioelgamal-curve25519
lib.rselgamal-curve25519
version0.2.0
sourcesrc
created_at2019-05-27 16:15:06.880191
updated_at2019-06-03 11:23:55.203544
descriptionA library for ElGamal homomorphic encryption
homepagehttps://github.com/chritchens/elgamal-curve25519
repositoryhttps://github.com/chritchens/elgamal-curve25519
max_upload_size
id137360
size40,248
Christian Nyumbayire (chritchens)

documentation

README

elgamal-curve25519

Travis branch Coveralls github branch License Docs.rs

ElGamal homomorphic encryption on Curve25519.

NOTES:

  • The API may change (error management, more options on the homomorphic side, idk).
  • nightly only to ensure some level of constant-time-ness. More info here and here.

Install

To install the library add in your Cargo.toml:

# Cargo.toml

[dependencies]
elgamal-curve25519 = "0.1"

Usage

To use the library just add in the root of your crate:

// root_file_name.rs

extern crate elgamal_curve25519; // old style
// or just use `use`, which can be used in any file of your project
use elgamal_curve25519; // new style

You can read the docs and the tests for more information on how to use it in practice.

License

This project is license under either of

at your option.

Contributing

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.

Commit count: 30

cargo fmt