This crate provides additive homomorphic ElGamal encryption over jubjub curve and also supports fully no_std
and parity-scale-codec
.
Alice has balance
She generates the randomness
When Bob transfers
The sum of encrypted balance and transfer amount is folloing.
$ cargo test