Skip to main content

Keccak256

Type Alias Keccak256 

pub type Keccak256 = CoreWrapper<Keccak256Core>;
Expand description

Keccak-256 hasher state.

Aliased Type§

pub struct Keccak256 { /* private fields */ }

Trait Implementations§

Source§

impl MiniDigest for Keccak256

Source§

type HashOutput = [u8; 32]

Source§

fn new() -> Self

Source§

fn digest(input: impl AsRef<[u8]>) -> Self::HashOutput

Source§

fn update(&mut self, input: impl AsRef<[u8]>)

Source§

fn finalize(self) -> Self::HashOutput

Source§

fn finalize_reset(&mut self) -> Self::HashOutput