ZenGo-X / curv

Rust language general purpose elliptic curve cryptography.
MIT License
264 stars 111 forks source link

Implement AsRef for EncodedPoint #163

Closed elichai closed 1 year ago

elichai commented 2 years ago

This improves the ergonomics of hashing points and comparing them

survived commented 2 years ago

Shouldn't we do the same for EncodedScalar?

elichai commented 2 years ago

Shouldn't we do the same for EncodedScalar?

yep. you're right.