Struct Sha512_256
pub struct Sha512_256 { /* private fields */ }Expand description
SHA-512/256 (FIPS 180-4).
Trait Implementations§
§impl Clone for Sha512_256
impl Clone for Sha512_256
§fn clone(&self) -> Sha512_256
fn clone(&self) -> Sha512_256
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Digest for Sha512_256
impl Digest for Sha512_256
§const OUTPUT_LEN: usize = 32
const OUTPUT_LEN: usize = 32
The digest length in octets.
§const BLOCK_LEN: usize = 128
const BLOCK_LEN: usize = 128
The internal block size in octets — the rate for the
Merkle–Damgård / sponge construction. Needed by keyed
constructions such as HMAC.
§fn new() -> Sha512_256
fn new() -> Sha512_256
Create a fresh hasher.
Auto Trait Implementations§
impl Freeze for Sha512_256
impl RefUnwindSafe for Sha512_256
impl Send for Sha512_256
impl Sync for Sha512_256
impl Unpin for Sha512_256
impl UnsafeUnpin for Sha512_256
impl UnwindSafe for Sha512_256
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<T> Hasher for Twhere
T: Digest,
impl<T> Hasher for Twhere
T: Digest,
Source§const OUTPUT_LEN: usize = const OUTPUT_LEN: usize = <T as tessera::Digest>::OUTPUT_LEN;
const OUTPUT_LEN: usize = const OUTPUT_LEN: usize = <T as tessera::Digest>::OUTPUT_LEN;
Output size in bytes.
Source§const BLOCK_LEN: usize = const BLOCK_LEN: usize = <T as tessera::Digest>::BLOCK_LEN;
const BLOCK_LEN: usize = const BLOCK_LEN: usize = <T as tessera::Digest>::BLOCK_LEN;
Block size in bytes (for HMAC computation).
Source§fn finalize_into(self, out: &mut [u8])
fn finalize_into(self, out: &mut [u8])
Finalize into a caller-provided buffer (no allocation).