Crates.io | elgamal_ristretto |
lib.rs | elgamal_ristretto |
version | 0.2.3 |
source | src |
created_at | 2019-11-21 15:39:11.771459 |
updated_at | 2020-02-20 19:44:56.663472 |
description | A pure-Rust implementation of ElGamal encryption using the Ristretto group over Curve25519 |
homepage | |
repository | https://github.com/iquerejeta/elgamal |
max_upload_size | |
id | 183241 |
size | 44,415 |
Efficient pure-Rust library for the ElGamal additive homomorphic encryption scheme using the Ristretto primer order group using the ristretto255 implementation in [curve25519-dalek][curve-dalek].
This library provides implementations of:
zkp
supporting proof generation and verification
of correct encryption, correct decryption and knowledge of private key.Important: while we have followed recommendations regarding the scheme itself, this library should currently be seen as an experimental implementation. In particular, no particular efforts have so far been made to harden it against non-cryptographic attacks, including side-channel attacks.