Skip to main content

RandomAuthenticatedForNPeers

Trait RandomAuthenticatedForNPeers 

Source
pub trait RandomAuthenticatedForNPeers<F: FieldExtension>: RandomWith<Vec<Vec<GlobalFieldKey<F>>>> {
    // Provided method
    fn random_for_n_peers_with_alphas<Container: FromIterator<Self>>(
        rng: impl CryptoRngCore,
        n_parties: usize,
        all_alphas: Vec<Vec<GlobalFieldKey<F>>>,
    ) -> Container { ... }
}

Provided Methods§

Source

fn random_for_n_peers_with_alphas<Container: FromIterator<Self>>( rng: impl CryptoRngCore, n_parties: usize, all_alphas: Vec<Vec<GlobalFieldKey<F>>>, ) -> Container

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§