w3f / schnorrkel

Schnorr VRFs and signatures on the Ristretto group
BSD 3-Clause "New" or "Revised" License
310 stars 93 forks source link

Add bitfield signed messages? #48

Open burdges opened 4 years ago

burdges commented 4 years ago

We could add some analog of the bitfield signed message stuff from the BLS crate: https://github.com/w3f/bls/blob/master/src/bit.rs

Right now, you must implement it yourself using AggregatePublicKey::public_key, but you also cannot really screw it up since you cannot merge signatures like in BLS, so I'm not sure it's really critical here.