[−][src]Struct sha2::Sha224
The SHA-256 hash algorithm with the SHA-224 initial hash value. The result is truncated to 224 bits.
Trait Implementations
impl Debug for Sha224
[+]
impl Debug for Sha224
impl Clone for Sha224
[src]
[+]
impl Clone for Sha224
impl Default for Sha224
[src]
[+]
impl Default for Sha224
impl Input for Sha224
[src]
[+]
impl Input for Sha224
impl FixedOutput for Sha224
[src]
[+]
impl FixedOutput for Sha224
impl BlockInput for Sha224
[src]
impl BlockInput for Sha224
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
[−]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
[−]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> From for T
[src]
[−]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
[−]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
[−]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T, U> Into for T where
U: From<T>,
[src]
[−]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
[−]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
[−]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
[−]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
[−]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
[−]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more
impl<D> Digest for D where
D: Input + BlockInput + FixedOutput + Default,
[src]
[−]
impl<D> Digest for D where
D: Input + BlockInput + FixedOutput + Default,
fn new() -> Self
[src]
[−]
fn new() -> Self
Create new hasher instance
fn input(&mut self, input: &[u8])
[src]
[−]
fn input(&mut self, input: &[u8])
Digest input data. This method can be called repeatedly for use with streaming messages. Read more
fn result(self) -> GenericArray<u8, Self::OutputSize>
[src]
[−]
fn result(self) -> GenericArray<u8, Self::OutputSize>
Retrieve the digest result. This method consumes digest instance.
fn digest(data: &[u8]) -> GenericArray<u8, Self::OutputSize>
[src]
[−]
fn digest(data: &[u8]) -> GenericArray<u8, Self::OutputSize>
Convenience function to compute hash of the data
. It will handle hasher creation, data feeding and finalization. Read more
fn digest_str(str: &str) -> GenericArray<u8, Self::OutputSize>
[src]
[−]
fn digest_str(str: &str) -> GenericArray<u8, Self::OutputSize>
Convenience function to compute hash of the string. It's equivalent to digest(input_string.as_bytes())
. Read more
impl<T> Same for T
[src]
impl<T> Same for T
type Output = T
Should always be Self