Struct Sha512_224

pub struct Sha512_224 { /* private fields */ }

SHA-512/224 hasher.

Trait Implementations

impl AlgorithmName for Sha512_224

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

impl AssociatedOid for Sha512_224

const OID: ObjectIdentifier = _;

impl BlockSizeUser for Sha512_224

type BlockSize = <CtOutWrapper<Sha512VarCore, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>> as BlockSizeUser>::BlockSize;

impl Clone for Sha512_224

fn clone(&self) -> Self

impl CoreProxy for Sha512_224

type Core = CtOutWrapper<Sha512VarCore, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>;
fn compose(core: Self::Core, buffer: Buffer<Self::Core>) -> Self
fn decompose(self) -> (Self::Core, Buffer<Self::Core>)

impl Debug for Sha512_224

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

impl Default for Sha512_224

fn default() -> Self

impl FixedOutput for Sha512_224

fn finalize_into(self, out: &mut Output<Self>)

impl FixedOutputReset for Sha512_224

fn finalize_into_reset(&mut self, out: &mut Output<Self>)

impl HashMarker for Sha512_224

impl OutputSizeUser for Sha512_224

type OutputSize = <CtOutWrapper<Sha512VarCore, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>> as OutputSizeUser>::OutputSize;

impl Reset for Sha512_224

fn reset(&mut self)

impl SerializableState for Sha512_224

type SerializedStateSize = <<CtOutWrapper<Sha512VarCore, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>> as SerializableState>::SerializedStateSize as Add<<<CtOutWrapper<Sha512VarCore, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>> as BlockSizeUser>::BlockSize as Add<<<CtOutWrapper<Sha512VarCore, UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>> as BufferKindUser>::BufferKind as Sealed>::Overhead>>::Output>>::Output;
fn serialize(&self) -> SerializedState<Self>
fn deserialize(serialized_state: &SerializedState<Self>) -> Result<Self, DeserializeStateError>

impl Update for Sha512_224

fn update(&mut self, data: &[u8])

Auto Trait Implementations

impl Freeze for Sha512_224

impl RefUnwindSafe for Sha512_224

impl Send for Sha512_224

impl Sync for Sha512_224

impl Unpin for Sha512_224

impl UnsafeUnpin for Sha512_224

impl UnwindSafe for Sha512_224

Blanket Implementations

impl<D> Digest for Sha512_224 where D: FixedOutput + Default + Update + HashMarker,

impl<D> DynDigest for Sha512_224 where D: Update + FixedOutputReset + Reset + Clone + 'static,

impl<T> Any for Sha512_224 where T: 'static + ?Sized,

impl<T> Borrow<T> for Sha512_224 where T: ?Sized,

impl<T> BorrowMut<T> for Sha512_224 where T: ?Sized,

impl<T> CloneToUninit for Sha512_224 where T: Clone,

impl<T> DynAssociatedOid for Sha512_224 where T: AssociatedOid,

impl<T> DynDigestWithOid for Sha512_224 where T: DynDigest + DynAssociatedOid,

impl<T> EagerHash for Sha512_224 where T: SmallBlockSizeUser + Digest + Clone + CoreProxy, <T as CoreProxy>::Core: HashMarker + UpdateCore + FixedOutputCore<_BlockSize = <T as SmallBlockSizeUser>::_BlockSize, BufferKind = Eager> + SmallBlockSizeUser + BufferKindUser + Default + Clone,

impl<T> From<T> for Sha512_224

impl<T> Same for Sha512_224

impl<T> SmallBlockSizeUser for Sha512_224 where T: BlockSizeUser, <T as BlockSizeUser>::BlockSize: BlockSizes,

impl<T> ToOwned for Sha512_224 where T: Clone,

impl<T, U> Into<U> for Sha512_224 where U: From<T>,

impl<T, U> TryFrom<U> for Sha512_224 where U: Into<T>,

impl<T, U> TryInto<U> for Sha512_224 where U: TryFrom<T>,