Struct nettle::hash::insecure_do_not_use::Md2 [−][src]
pub struct Md2 { /* fields omitted */ }
Expand description
Message-Digest Algorithm 2 (MD2) defined in RFC 1319.
Note
MD2 is no longer considered a secure cryptographic hash function. Only use it for legacy applications.
Trait Implementations
Size of the digest in bytes
Finalizes the hash function and writes the digest into the provided slice. digest
must be
at least DIGEST_SIZE bytes large, otherwise the digest will be truncated. Resets the hash
function contexts. Read more
Pointer to the nettle_hash
structure for this hash.
Internal to sign_pkcs1
and verify_pkcs1
.
Write a buffer into this writer, returning how many bytes were written. Read more
Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more
can_vector
)Determines if this Write
r has an efficient write_vectored
implementation. Read more
Attempts to write an entire buffer into this writer. Read more
write_all_vectored
)Attempts to write multiple buffers into this writer. Read more
Writes a formatted string into this writer, returning any error encountered. Read more
Auto Trait Implementations
impl RefUnwindSafe for Md2
impl UnwindSafe for Md2
Blanket Implementations
Mutably borrows from an owned value. Read more