Function chain_crypto::vrf::vrf_evaluate_and_prove
source · pub fn vrf_evaluate_and_prove<VRF: VerifiableRandomFunction, T: RngCore + CryptoRng>(
secret: &SecretKey<VRF>,
input: &<VRF as VerifiableRandomFunction>::Input,
rng: T
) -> <VRF as VerifiableRandomFunction>::VerifiedRandomOutput
Expand description
Evaluate the VRF for a specific input and return a verified output