referrerpolicy=no-referrer-when-downgrade

Function sp_consensus_sassafras::vrf::make_revealed_key_seed

source ·
pub fn make_revealed_key_seed(
    input: &VrfInput,
    pre_output: &VrfPreOutput,
) -> [u8; 32]
Expand description

Make revealed key seed from a given VRF input and pre-output.

Input should have been obtained via revealed_key_input. Pre-output should have been obtained from the input directly using the vrf secret key or from the vrf signature pre-outputs.