pub struct Blake512 { /* private fields */ }Trait Implementations§
Source§impl BlockInput for Blake512
impl BlockInput for Blake512
Source§impl FixedOutputDirty for Blake512
impl FixedOutputDirty for Blake512
Source§type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>
type OutputSize = UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>
Output size for fixed output digest
Source§fn finalize_into_dirty(&mut self, out: &mut GenericArray<u8, Self::OutputSize>)
fn finalize_into_dirty(&mut self, out: &mut GenericArray<u8, Self::OutputSize>)
Retrieve result into provided buffer and leave hasher in a dirty state. Read more
Auto Trait Implementations§
impl Freeze for Blake512
impl RefUnwindSafe for Blake512
impl Send for Blake512
impl Sync for Blake512
impl Unpin for Blake512
impl UnwindSafe for Blake512
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> Digest for D
impl<D> Digest for D
Source§type OutputSize = <D as FixedOutput>::OutputSize
type OutputSize = <D as FixedOutput>::OutputSize
Output size for
DigestSource§fn update(&mut self, data: impl AsRef<[u8]>)
fn update(&mut self, data: impl AsRef<[u8]>)
Digest data, updating the internal state. Read more
Source§fn finalize(self) -> GenericArray<u8, <D as Digest>::OutputSize>
fn finalize(self) -> GenericArray<u8, <D as Digest>::OutputSize>
Retrieve result and consume hasher instance.
Source§fn finalize_reset(&mut self) -> GenericArray<u8, <D as Digest>::OutputSize>
fn finalize_reset(&mut self) -> GenericArray<u8, <D as Digest>::OutputSize>
Retrieve result and reset hasher instance. Read more
Source§fn output_size() -> usize
fn output_size() -> usize
Get output size of the hasher
Source§fn digest(data: &[u8]) -> GenericArray<u8, <D as Digest>::OutputSize>
fn digest(data: &[u8]) -> GenericArray<u8, <D as Digest>::OutputSize>
Convenience function to compute hash of the
data. It will handle
hasher creation, data feeding and finalization. Read moreSource§impl<D> FixedOutput for Dwhere
D: FixedOutputDirty + Reset,
impl<D> FixedOutput for Dwhere
D: FixedOutputDirty + Reset,
Source§type OutputSize = <D as FixedOutputDirty>::OutputSize
type OutputSize = <D as FixedOutputDirty>::OutputSize
Output size for fixed output digest
Source§fn finalize_into(
self,
out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>,
)
fn finalize_into( self, out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>, )
Write result into provided array and consume the hasher instance.
Source§fn finalize_into_reset(
&mut self,
out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>,
)
fn finalize_into_reset( &mut self, out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>, )
Write result into provided array and reset the hasher instance.
Source§fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>where
Self: Sized,
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>where
Self: Sized,
Retrieve result and consume the hasher instance.
Source§fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>
fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>
Retrieve result and reset the hasher instance.