pub struct Sha384 { /* private fields */ }
Expand description
SHA-384 hash function state with enhanced memory safety
Trait Implementations§
Source§impl HashFunction for Sha384
impl HashFunction for Sha384
Source§type Algorithm = Sha384Algorithm
type Algorithm = Sha384Algorithm
The algorithm type that defines constants and properties
Source§fn update(&mut self, data: &[u8]) -> Result<&mut Self>
fn update(&mut self, data: &[u8]) -> Result<&mut Self>
Updates the hash state with
data
, returning self for chaining.Source§fn output_size() -> usize
fn output_size() -> usize
The output size in bytes.
Source§fn block_size() -> usize
fn block_size() -> usize
The internal block size in bytes.
Source§fn finalize_reset(&mut self) -> Result<Self::Output>
fn finalize_reset(&mut self) -> Result<Self::Output>
Finalizes, returns the digest, and resets state.
Source§impl SecureZeroingType for Sha384
impl SecureZeroingType for Sha384
Auto Trait Implementations§
impl Freeze for Sha384
impl RefUnwindSafe for Sha384
impl Send for Sha384
impl Sync for Sha384
impl Unpin for Sha384
impl UnwindSafe for Sha384
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