Crate ecvrf
Source - VrfPk
- Holds a public key g*sk as usual in ECC
- VrfProof
- The proof part of our VRF generation
- VrfSk
- Holds a secret key scalar for generating VRF proofs
- keygen
- Generates a crypto-safe secret key using OsRng and the
corresponding public key into a tuple
- prove
- The output of a VRF function is the VRF hash and the proof to verify
we generated this hash with the supplied key
- verify