An object which calculates a SHA1 hash of some data.
SHA1 is known to be insecure - it should not be used unless required for compatibility with existing systems.
Creates a new hasher.
Feeds some data into the hasher.
This can be called multiple times.
Returns the hash of the data.
Auto Trait Implementations
impl RefUnwindSafe for Sha1
impl UnwindSafe for Sha1
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.