pub enum MessageDigest {
Sha256,
Sha384,
Sha512,
}
Expand description
Cryptographic hash algorithms that can be used with the Hash
trait
Variants§
Sha256
256-bit Secure Hash Algorithm
Sha384
384-bit Secure Hash Algorithm
Sha512
512-bit Secure Hash Algorithm
Trait Implementations§
source§impl Clone for MessageDigest
impl Clone for MessageDigest
source§fn clone(&self) -> MessageDigest
fn clone(&self) -> MessageDigest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MessageDigest
impl Debug for MessageDigest
source§impl From<MessageDigest> for MessageDigest
impl From<MessageDigest> for MessageDigest
source§fn from(digest: MessageDigest) -> Self
fn from(digest: MessageDigest) -> Self
Converts to this type from the input type.
impl Copy for MessageDigest
Auto Trait Implementations§
impl Freeze for MessageDigest
impl RefUnwindSafe for MessageDigest
impl Send for MessageDigest
impl Sync for MessageDigest
impl Unpin for MessageDigest
impl UnwindSafe for MessageDigest
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