diff --git a/src/keccak.rs b/src/keccak.rs index a7db0b8..cdde8bb 100644 --- a/src/keccak.rs +++ b/src/keccak.rs @@ -53,6 +53,11 @@ impl Keccak { state: KeccakState::new(bits_to_rate(bits), Self::DELIM), } } + + /// Resets the internal state + pub fn reset(&mut self) { + self.state.reset(); + } } impl Hasher for Keccak {