Struct sha2::Sha224 [−][src]
pub struct Sha224 { /* fields omitted */ }
The SHA-256 hash algorithm with the SHA-224 initial hash value. The result is truncated to 224 bits.
Trait Implementations
impl Clone for Sha224
[src]
impl Clone for Sha224
ⓘImportant traits for Sha224fn clone(&self) -> Sha224
[src]
fn clone(&self) -> Sha224
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Default for Sha224
[src]
impl Default for Sha224
impl BlockInput for Sha224
[src]
impl BlockInput for Sha224
type BlockSize = U64
impl Input for Sha224
[src]
impl Input for Sha224
fn input<B: AsRef<[u8]>>(&mut self, input: B)
[src]
fn input<B: AsRef<[u8]>>(&mut self, input: B)
Digest input data. Read more
fn chain<B>(self, data: B) -> Self where
B: AsRef<[u8]>,
[src]
fn chain<B>(self, data: B) -> Self where
B: AsRef<[u8]>,
Digest input data in a chained manner.
impl FixedOutput for Sha224
[src]
impl FixedOutput for Sha224
type OutputSize = U28
fn fixed_result(self) -> GenericArray<u8, Self::OutputSize>
[src]
fn fixed_result(self) -> GenericArray<u8, Self::OutputSize>
Retrieve result and consume hasher instance.
impl Reset for Sha224
[src]
impl Reset for Sha224
impl Debug for Sha224
impl Debug for Sha224
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Write for Sha224
impl Write for Sha224
fn write(&mut self, buf: &[u8]) -> Result<usize>
fn write(&mut self, buf: &[u8]) -> Result<usize>
Write a buffer into this object, returning how many bytes were written. Read more
fn flush(&mut self) -> Result<()>
fn flush(&mut self) -> Result<()>
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
1.0.0[src]
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
Attempts to write an entire buffer into this write. Read more
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
1.0.0[src]
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
Writes a formatted string into this writer, returning any error encountered. Read more
ⓘImportant traits for &'a mut Ifn by_ref(&mut self) -> &mut Self
1.0.0[src]
fn by_ref(&mut self) -> &mut Self
Creates a "by reference" adaptor for this instance of Write
. Read more