Struct ed25519_dalek::Sha512
source · [−]pub struct Sha512 { /* private fields */ }
Expand description
The SHA-512 hash algorithm with the SHA-512 initial hash value.
Trait Implementations
Output size for fixed output digest
pub fn finalize_into_dirty(
&mut self,
out: &mut GenericArray<u8, <Sha512 as Digest>::OutputSize>
)
pub fn finalize_into_dirty(
&mut self,
out: &mut GenericArray<u8, <Sha512 as Digest>::OutputSize>
)
Retrieve result into provided buffer and leave hasher in a dirty state. 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
can_vector
)Determines if this Write
r has an efficient write_vectored
implementation. Read more
Attempts to write an entire buffer into this writer. Read more
write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more
Auto Trait Implementations
impl RefUnwindSafe for Sha512
impl UnwindSafe for Sha512
Blanket Implementations
Mutably borrows from an owned value. Read more
type OutputSize = <D as FixedOutput>::OutputSize
type OutputSize = <D as FixedOutput>::OutputSize
Output size for Digest
Digest data, updating the internal state. Read more
Retrieve result and consume hasher instance.
Retrieve result and reset hasher instance. Read more
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
Retrieve result and reset hasher instance
Retrieve result and consume boxed hasher instance
Get output size of the hasher
type OutputSize = <D as FixedOutputDirty>::OutputSize
type OutputSize = <D as FixedOutputDirty>::OutputSize
Output size for fixed output digest
Write result into provided array and consume the hasher instance.
pub fn finalize_into_reset(
&mut self,
out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>
)
pub fn finalize_into_reset(
&mut self,
out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>
)
Write result into provided array and reset the hasher instance.
Retrieve result and consume the hasher instance.
Retrieve result and reset the hasher instance.
Writes an unsigned 8 bit integer to the underlying writer. Read more
Writes a signed 8 bit integer to the underlying writer. Read more
Writes an unsigned 16 bit integer to the underlying writer. Read more
Writes a signed 16 bit integer to the underlying writer. Read more
Writes an unsigned 24 bit integer to the underlying writer. Read more
Writes a signed 24 bit integer to the underlying writer. Read more
Writes an unsigned 32 bit integer to the underlying writer. Read more
Writes a signed 32 bit integer to the underlying writer. Read more
Writes an unsigned 48 bit integer to the underlying writer. Read more
Writes a signed 48 bit integer to the underlying writer. Read more
Writes an unsigned 64 bit integer to the underlying writer. Read more
Writes a signed 64 bit integer to the underlying writer. Read more
Writes an unsigned 128 bit integer to the underlying writer.
Writes a signed 128 bit integer to the underlying writer.
Writes an unsigned n-bytes integer to the underlying writer. Read more
Writes a signed n-bytes integer to the underlying writer. Read more
Writes an unsigned n-bytes integer to the underlying writer. Read more
Writes a signed n-bytes integer to the underlying writer. Read more
Writes a IEEE754 single-precision (4 bytes) floating point number to the underlying writer. Read more