package core.hash.md5
MD5_Digest :: struct {
a: u32;
b: u32;
c: u32;
d: u32;
bytes_digested: u64;
}
Produces an MD5 digest of a string. This is guaranteed to succeed. Produces an MD5 digest of a stream. This is not guaranteed to succeed, as the stream may fail part way through.
Methods
MD5_Digest.as_hex_str :: (self: MD5_Digest) -> [] u8
Returns a temporary string of the hash.
MD5_Digest.as_str :: (self: MD5_Digest) -> [] u8
Returns a temporary byte array of the hash.
digest :: (x: [] u8) -> MD5_Digest
digest :: (s: &Stream) -> ? MD5_Digest
Produces an MD5 digest of a string or stream.