]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/doc/hash.txt
A couple of fixes to hash function documentation.
[libucw.git] / ucw / doc / hash.txt
index b28c42a76eb5448ba0b403851f368ad294bf8630..22459c1ca4c516294394dbb769cf20caee16bdbf 100644 (file)
@@ -1,12 +1,12 @@
 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
@@ -45,6 +45,6 @@ There are two ways you can use the hashing routines.
   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()>>.