Trait PRF
ark_crypto_primitives::prf
pub trait PRF { type Input: FromBytes + Default; type Output: ToBytes + Eq + Clone + Debug + Default + Hash; type Seed: FromBytes + ToBytes + Clone + Default + Debug; fn evaluate( seed: &Self::Seed, input: &Self::Input ) -> Result<Self::Output, CryptoError>; }
type Input: FromBytes + Default
type Output: ToBytes + Eq + Clone + Debug + Default + Hash
type Seed: FromBytes + ToBytes + Clone + Default + Debug
fn evaluate( seed: &Self::Seed, input: &Self::Input) -> Result<Self::Output, CryptoError>
impl PRF for Blake2s
type Input = [u8; 32]
type Output = [u8; 32]
type Seed = [u8; 32]