pub struct Sha512 { /* fields omitted */ }
The SHA-512 hash algorithm with the SHA-512 initial hash value.
type BlockSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>, B0>
Reset hasher instance to its initial state and return current state.
type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>
Retrieve result and consume hasher instance.
Returns the "default value" for a type. Read more
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Write a buffer into this writer, returning how many bytes were written. Read more
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
Attempts to write an entire buffer into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more
Creates a "by reference" adaptor for this instance of Write
. Read more
Digest input data in a chained manner.
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
Completely overwrites this value.
Called to initialize a place to a valid value, after it is set to all-bits-zero. Read more
type OutputSize = <D as FixedOutput>::OutputSize
Create new hasher instance
Digest input data in a chained manner.
Retrieve result and consume hasher instance.
Retrieve result and reset hasher instance. Read more
Reset hasher instance to its initial state.
Get output size of the hasher
Convenience function to compute hash of the data
. It will handle hasher creation, data feeding and finalization. Read more
impl<D> DynDigest for D where D: Input + FixedOutput + Reset + Clone, | |
Digest input data.
This method can be called repeatedly for use with streaming messages.
Retrieve result and reset hasher instance
Retrieve result and consume boxed hasher instance
Reset hasher instance to its initial state.
Get output size of the hasher