Skip to content

Implementation of additive homomorphic ElGamal using the Ristretto group over Curve25519

License

Notifications You must be signed in to change notification settings

kornelski/elgamal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crates.io

ElGamal

Efficient pure-Rust library for the ElGamal additive homomorphic encryption scheme using the Ristretto primer order group using the ristretto255 implementation in curve25519-dalek.

This library provides implementations of:

  • Additively Homomorphic ElGamal Encryption and decryption.
  • Zero Knowledge Proofs using the toolkit for proof generation zkp supporting proof generation and verification of correct encryption, correct decryption and knowledge of private key.
  • EdDSA generation and verification.

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.

About

Implementation of additive homomorphic ElGamal using the Ristretto group over Curve25519

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 97.5%
  • HTML 2.5%