Hash
interface Hash
Represents a cryptographic hash algorithm.
Methods
reset
pub fn reset(self)
Resets to initial state.
reset
pub fn reset(self)
Resets to initial state.
Resets to initial state.
Updates the hash with the given data.
Updates the hash with the given data.
Updates the hash with the given data.
block_size
pub fn block_size(self): int
Returns the block size of the hash.
block_size
pub fn block_size(self): int
Returns the block size of the hash.
Returns the block size of the hash.
The block size is the number of bytes that the hash function operates on.
output_size
pub fn output_size(self): int
Returns the number of bytes will return.
output_size
pub fn output_size(self): int
Returns the number of bytes will return.
Returns the number of bytes will return.