Hashing routines
================
-Libucw contains two hash algorithms, MD5 (RFC 1321) and SHA1 (RFC
+Libucw contains two cryptographic hash algorithms: MD5 (RFC 1321) and SHA1 (RFC
3174).
- <<md5,MD5>>
- <<sha1,SHA1>>
-- <<usage,Usage>>
+- <<usage,Common usage>>
[[md5]]
MD5
byte output[MD5_SIZE];
memcpy(output, md5_final(&c), MD5_SIZE);
-SHA1 has the same interface, so both ways work to it as well.
+SHA1 has the same interface, so the same two ways apply.
See also <<string:mem_to_hex()>>.