LLFourn / secp256kfun

A pure-rust secp256k1 library optimised for fun
BSD Zero Clause License
100 stars 29 forks source link

Remove XOnly in favor of Point<EvenY> #114

Closed LLFourn closed 1 year ago

LLFourn commented 1 year ago

The reason I originally creared XOnly was out of an obsession with not storing 3 field elements where we could just store 32 bytes.

But if people are in a situation where they don't have enough memory they can just call to_xonly_bytes and use from_xonly_bytes when they want to use it as a key.