RandomizedCiphersuite

Trait RandomizedCiphersuite 

Source
pub trait RandomizedCiphersuite: Ciphersuite {
    // Required method
    fn hash_randomizer(
        m: &[u8],
    ) -> Option<<<Self::Group as Group>::Field as Field>::Scalar>;
}
Expand description

A Ciphersuite that supports rerandomization.

Required Methods§

Source

fn hash_randomizer( m: &[u8], ) -> Option<<<Self::Group as Group>::Field as Field>::Scalar>

A hash function that hashes into a randomizer scalar.

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§