Function chain_crypto::vrf_verify
source · pub fn vrf_verify<VRF: VerifiableRandomFunction>(
public: &PublicKey<VRF>,
input: &<VRF as VerifiableRandomFunction>::Input,
vrand: &<VRF as VerifiableRandomFunction>::VerifiedRandomOutput
) -> VrfVerification
Expand description
Verify the VRF output for a specific input is correct