aboutsummaryrefslogtreecommitdiff
path: root/sbin/md5
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2017-03-02 00:27:21 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2017-03-02 00:27:21 +0000
commitc74cccf0f8a60be5a4f3c3a1743c6d1795d82198 (patch)
treed293c83adbd99458a5fa3b29dd0826ecbe11a864 /sbin/md5
parent076ad2f836d5f49dc1375f1677335a48fe0d4b82 (diff)
downloadsrc-c74cccf0f8a60be5a4f3c3a1743c6d1795d82198.tar.gz
src-c74cccf0f8a60be5a4f3c3a1743c6d1795d82198.zip
Update to reflect that SHA-1 has now been broken.
Submitted by: ak MFC after: 1 week
Notes
Notes: svn path=/head/; revision=314528
Diffstat (limited to 'sbin/md5')
-rw-r--r--sbin/md5/md5.126
1 files changed, 12 insertions, 14 deletions
diff --git a/sbin/md5/md5.1 b/sbin/md5/md5.1
index f877c1e1ace1..acc2cdc2680e 100644
--- a/sbin/md5/md5.1
+++ b/sbin/md5/md5.1
@@ -1,5 +1,5 @@
.\" $FreeBSD$
-.Dd January 7, 2017
+.Dd March 2, 2017
.Dt MD5 1
.Os
.Sh NAME
@@ -84,21 +84,17 @@ in a secure manner before being encrypted with a private
key under a public-key cryptosystem such as
.Tn RSA .
.Pp
+The
.Tn MD5
-has been completely broken as far as finding collisions is
-concerned, and should not be relied upon to produce unique outputs.
-This also means that
-.Tn MD5
-should not be used as part of a cryptographic signature scheme.
-At the current time (2014-05-17) there is no publicly known method to
-.Dq reverse
-MD5, i.e., to find an input given a hash value.
-.Pp
-.Tn SHA-1
-currently (2014-05-17) has no known collisions, but an attack has been
-found which is faster than a brute-force search, placing the security of
+and
.Tn SHA-1
-in doubt.
+algorithms have been proven to be vulnerable to practical collision
+attacks and should not be relied upon to produce unique outputs, nor
+should they be used as part of a cryptographic signature scheme.
+As of 2016-03-02, there is no publicly known method to
+.Em reverse
+either algorithm, i.e. to find an input that produces a specific
+output.
.Pp
.Tn SHA-512t256
is a version of
@@ -111,6 +107,8 @@ The hashes are not interchangeable.
.Pp
It is recommended that all new applications use
.Tn SHA-512
+or
+.Tn SKEIN-512
instead of one of the other hash functions.
.Pp
The following options may be used in any combination and must