pub struct Sha512 { /* private fields */ }
Expand description
Sha512
algorithm implementation
Implementations§
source§impl Sha512
impl Sha512
sourcepub const fn const_update(self, input: &[u8]) -> Self
pub const fn const_update(self, input: &[u8]) -> Self
Hashes input
sourcepub const fn const_result(self) -> [u8; 64]
pub const fn const_result(self) -> [u8; 64]
Finalizes algorithm, returning the hash.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Sha512
impl Send for Sha512
impl Sync for Sha512
impl Unpin for Sha512
impl UnwindSafe for Sha512
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