X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fdoc%2Fhash.txt;h=22459c1ca4c516294394dbb769cf20caee16bdbf;hb=90676f283e64e478958fc690a9c2b2472bb0f9e8;hp=b28c42a76eb5448ba0b403851f368ad294bf8630;hpb=7e867a93a1d12a01ac997830e5c8e17e2af110c9;p=libucw.git diff --git a/ucw/doc/hash.txt b/ucw/doc/hash.txt index b28c42a7..22459c1c 100644 --- a/ucw/doc/hash.txt +++ b/ucw/doc/hash.txt @@ -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 @@ -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 <>.