5 releases

0.2.3 Dec 29, 2022
0.2.2 Nov 30, 2022
0.2.1 Nov 29, 2022
0.2.0 Nov 29, 2022
0.1.0 Nov 28, 2022

#11 in #homomorphic-encryption

21 downloads per month

MIT license

21KB
330 lines

Paillier Cryptosystem

CI crates.io Crates.io

Just an implementation of Paillier Cryptosystem written in Rust.

Build & Test

cargo build
cargo test

Why

For research purpose. And the encryption of the Paillier algorithm supports the properties of homomorphic addition and scalar multiplication

Production Ready?

No, Its only for educational & research purpose. The code has not undergone any security audit

Usage

Please see unit tests in lib.rs

Paillier vs. RSA

https://crypto.stackexchange.com/questions/57766/paillier-vs-rsa

References

Dependencies

~2.5MB
~50K SLoC