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 Freeze for Sha512
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