[−][src]Trait bitcoin_hashes::HashEngine
A hashing engine which bytes can be serialized into
Associated Types
type MidState
Byte array representing the internal state of the hash engine
Associated Constants
const BLOCK_SIZE: usize
Length of the hash's internal block size, in bytes
Required methods
fn midstate(&self) -> Self::MidState
Outputs the midstate of the hash engine. This function should not be used directly unless you really know what you're doing.
fn input(&mut self, data: &[u8])
Add data to the hash engine
fn n_bytes_hashed(&self) -> usize
Return the number of bytes already n_bytes_hashed(inputted)