pub trait Finalize {
type Digest: Digest;
type Update: Update;
// Required methods
fn digest(&self) -> Self::Digest;
fn reset(&self) -> Self::Update;
}Expand description
A trait for hash objects in a finalized state.
This trait defines the common interface for hash objects that have been finalized, producing the final digest. Implementations of this trait typically provide methods for obtaining the final digest and resetting the state to perform additional hashing.