Curve crate #84
Labels
cryptography
An issue involving cryptography/a cryptographic library
feature
New feature or request
improvement
This could be better
A
Curve
trait, similar to ff/group (and defined over ff/group), yet offering a variety of provided methods (*_len, read_*) and requiring Zeroize would be appreciated.Offering a hash_to_F would also be appreciated, yet the issue is how hash_to_F varies across curves. Ed25519 does it raw, secp256k1 does ExpandMessageXMD. While an IETF hash_to_curve implementation composable for anything implementing ff/group would be appreciated, it still needs to be selected per-curve, where-as I'd like to keep the Curve trait incredibly minimal (ideally
impl Curve for Group
).Perhaps:
Would be quite minimal, yet de-duplicates code as does #83.
The text was updated successfully, but these errors were encountered: