Struct Sha512VarCore

struct Sha512VarCore { ... }

Core block-level SHA-512 hasher with variable output size.

Supports initialization only for 28, 32, 48, and 64 byte output sizes, i.e. 224, 256, 384, and 512 bits respectively.

Implementations

impl AlgorithmName for Sha512VarCore

fn write_alg_name(f: &mut Formatter<'_>) -> Result

impl BlockSizeUser for Sha512VarCore

impl BufferKindUser for Sha512VarCore

impl Clone for Sha512VarCore

fn clone(self: &Self) -> Sha512VarCore

impl Debug for Sha512VarCore

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Freeze for Sha512VarCore

impl HashMarker for Sha512VarCore

impl OutputSizeUser for Sha512VarCore

impl RefUnwindSafe for Sha512VarCore

impl Send for Sha512VarCore

impl Sync for Sha512VarCore

impl Unpin for Sha512VarCore

impl UnsafeUnpin for Sha512VarCore

impl UnwindSafe for Sha512VarCore

impl UpdateCore for Sha512VarCore

fn update_blocks(self: &mut Self, blocks: &[Block<Self>])

impl VariableOutputCore for Sha512VarCore

fn new(output_size: usize) -> Result<Self, InvalidOutputSize>
fn finalize_variable_core(self: &mut Self, buffer: &mut Buffer<Self>, out: &mut Output<Self>)

impl<T> Any for Sha512VarCore

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Sha512VarCore

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Sha512VarCore

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for Sha512VarCore

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for Sha512VarCore

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Same for Sha512VarCore

impl<T> ToOwned for Sha512VarCore

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for Sha512VarCore

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Sha512VarCore

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Sha512VarCore

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>