Crate ecvrf

source ·

Structs

Holds a public key g*sk as usual in ECC
The proof part of our VRF generation
Holds a secret key scalar for generating VRF proofs

Functions

Generates a crypto-safe secret key using OsRng and the corresponding public key into a tuple
The output of a VRF function is the VRF hash and the proof to verify we generated this hash with the supplied key