franklin_crypto::group_hash

Trait GroupHasher

Source
pub trait GroupHasher {
    // Required methods
    fn new(personalization: &[u8]) -> Self;
    fn update(&mut self, data: &[u8]);
    fn finalize(&mut self) -> Vec<u8> ;
}

Required Methods§

Source

fn new(personalization: &[u8]) -> Self

Source

fn update(&mut self, data: &[u8])

Source

fn finalize(&mut self) -> Vec<u8>

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§