eleanor-em / rust-elgamal

A straightforward implementation of ElGamal using the Ristretto255 elliptic curve group.
Other
8 stars 4 forks source link

Choice of ristretto255 over Curve25519 #1

Open jellevos opened 3 years ago

jellevos commented 3 years ago

Hi, thank you for this nice implementation! 🙂 I was looking at ristretto255 and I was wondering, are there any benefits over using ristretto255 for ElGamal rather than Curve25519? I suppose both are fine since ElGamal works over any cyclic group right? From reading the ristretto255 documentation I did see that equality checks are faster, but I wonder if there are other reasons too. I am a beginner in this topic but I am curious to know!

donkey-donkey commented 1 year ago

any developments on this?