Struct skein_hash::Skein1024 [−][src]
pub struct Skein1024<N: Unsigned + ArrayLength<u8> + NonZero + Default> { /* fields omitted */ }
Trait Implementations
impl<N> BlockInput for Skein1024<N> where
N: Unsigned + ArrayLength<u8> + NonZero + Default,
[src]
impl<N> BlockInput for Skein1024<N> where
N: Unsigned + ArrayLength<u8> + NonZero + Default,
[src]type BlockSize = <Threefish1024 as BlockCipher>::BlockSize
type BlockSize = <Threefish1024 as BlockCipher>::BlockSize
Block size
impl<N> FixedOutputDirty for Skein1024<N> where
N: Unsigned + ArrayLength<u8> + NonZero + Default,
[src]
impl<N> FixedOutputDirty for Skein1024<N> where
N: Unsigned + ArrayLength<u8> + NonZero + Default,
[src]type OutputSize = N
type OutputSize = N
Output size for fixed output digest
fn finalize_into_dirty(
&mut self,
output: &mut GenericArray<u8, Self::OutputSize>
)
[src]
fn finalize_into_dirty(
&mut self,
output: &mut GenericArray<u8, Self::OutputSize>
)
[src]Retrieve result into provided buffer and leave hasher in a dirty state. Read more
Auto Trait Implementations
impl<N> Send for Skein1024<N>
impl<N> Sync for Skein1024<N>
impl<N> Unpin for Skein1024<N> where
<N as ArrayLength<u8>>::ArrayType: Unpin,
<N as ArrayLength<u8>>::ArrayType: Unpin,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<D> Digest for D where
D: Update + FixedOutput + Reset + Clone + Default,
[src]
impl<D> Digest for D where
D: Update + FixedOutput + Reset + Clone + Default,
[src]type OutputSize = <D as FixedOutput>::OutputSize
type OutputSize = <D as FixedOutput>::OutputSize
Output size for Digest
pub fn update(&mut self, data: impl AsRef<[u8]>)
[src]
pub fn update(&mut self, data: impl AsRef<[u8]>)
[src]Digest data, updating the internal state. Read more
pub fn finalize(self) -> GenericArray<u8, <D as Digest>::OutputSize>
[src]
pub fn finalize(self) -> GenericArray<u8, <D as Digest>::OutputSize>
[src]Retrieve result and consume hasher instance.
pub fn finalize_reset(&mut self) -> GenericArray<u8, <D as Digest>::OutputSize>
[src]
pub fn finalize_reset(&mut self) -> GenericArray<u8, <D as Digest>::OutputSize>
[src]Retrieve result and reset hasher instance. Read more
pub fn output_size() -> usize
[src]
pub fn output_size() -> usize
[src]Get output size of the hasher
pub fn digest(data: &[u8]) -> GenericArray<u8, <D as Digest>::OutputSize>
[src]
pub fn digest(data: &[u8]) -> GenericArray<u8, <D as Digest>::OutputSize>
[src]Convenience function to compute hash of the data
. It will handle
hasher creation, data feeding and finalization. Read more
impl<D> FixedOutput for D where
D: FixedOutputDirty + Reset,
[src]
impl<D> FixedOutput for D where
D: FixedOutputDirty + Reset,
[src]type OutputSize = <D as FixedOutputDirty>::OutputSize
type OutputSize = <D as FixedOutputDirty>::OutputSize
Output size for fixed output digest
pub fn finalize_into(
self,
out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>
)
[src]
pub fn finalize_into(
self,
out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>
)
[src]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>
)
[src]
pub fn finalize_into_reset(
&mut self,
out: &mut GenericArray<u8, <D as FixedOutput>::OutputSize>
)
[src]Write result into provided array and reset the hasher instance.
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
[src]
fn finalize_fixed(self) -> GenericArray<u8, Self::OutputSize>
[src]Retrieve result and consume the hasher instance.
fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>
[src]
fn finalize_fixed_reset(&mut self) -> GenericArray<u8, Self::OutputSize>
[src]Retrieve result and reset the hasher instance.
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self