Browse Source

update our recommended hash function to sha256 and note md5 is broken.

ok deraadt jmc millert sobrado
OPENBSD_4_8
tedu 14 years ago
parent
commit
af419260cf
1 changed files with 4 additions and 9 deletions
  1. +4
    -9
      src/lib/libc/hash/mdX.3

+ 4
- 9
src/lib/libc/hash/mdX.3 View File

@ -6,9 +6,9 @@
.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
.\" ---------------------------------------------------------------------------- .\" ----------------------------------------------------------------------------
.\" .\"
.\" $OpenBSD: mdX.3,v 1.10 2007/05/31 19:19:29 jmc Exp $ .\" $OpenBSD: mdX.3,v 1.11 2010/07/13 22:34:45 tedu Exp $
.\" .\"
.Dd $Mdocdate: May 31 2007 $ .Dd $Mdocdate: July 13 2010 $
.Dt MDX 3 .Dt MDX 3
.Os .Os
.Sh NAME .Sh NAME
@ -53,10 +53,8 @@ This net result is a
.Dq fingerprint .Dq fingerprint
of the input-data, which doesn't disclose the actual input. of the input-data, which doesn't disclose the actual input.
.Pp .Pp
MD4 has been broken; it should only be used where necessary for MD4 and MD5 have been broken; they should only be used where necessary for
backward compatibility. backward compatibility.
MD5 has not yet (1999-02-11) been broken, but recent attacks have cast
some doubt on its security properties.
The attacks on both MD4 and MD5 The attacks on both MD4 and MD5
are both in the nature of finding are both in the nature of finding
.Dq collisions .Dq collisions
@ -210,8 +208,5 @@ helper functions are derived from code written by Poul-Henning Kamp.
.Sh BUGS .Sh BUGS
Collisions have been found for the full versions of both MD4 and MD5. Collisions have been found for the full versions of both MD4 and MD5.
The use of The use of
.Xr sha1 3 , .Xr sha2 3
.Xr sha2 3 ,
or
.Xr rmd160 3
is recommended instead. is recommended instead.

|||||||
|||||||
xxxxxxxxxx
 
000:0
x
 
000:0
Loading…
Cancel
Save