/// Trait implemented by a hash function implementation.
pubtraitHasher{/// Consume input and update internal state.
fnupdate(&mutself, input:&[u8]);/// Returns the final digest.
fnfinalize(&mutself)->&[u8];/// Reset the internal hasher state.
fnreset(&mutself);}