Trait ark_linear_sumcheck::rng::FeedableRNG[][src]

pub trait FeedableRNG: RngCore {
    type Error: Error + From<Error>;
    fn setup() -> Self;
fn feed<M: CanonicalSerialize>(
        &mut self,
        msg: &M
    ) -> Result<(), Self::Error>; }
Expand description

Random Field Element Generator where randomness feed adds entropy for the output.

Implementation should support all types of input that has ToBytes trait.

Same sequence of feed and get call should yield same result!

Associated Types

Error type

Required methods

Setup should not have any parameter.

Provide randomness for the generator, given the message.

Implementors