]> Cypherpunks repositories - gostls13.git/commitdiff
crypto: revise wording about cryptographically broken algorithms
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 4 May 2017 02:49:23 +0000 (02:49 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 4 May 2017 12:31:18 +0000 (12:31 +0000)
Updates text from https://golang.org/cl/42511

Updates #14395

Change-Id: I711100525e074ab360e577520280c37645db1c95
Reviewed-on: https://go-review.googlesource.com/42614
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Rob Pike <r@golang.org>
src/crypto/des/const.go
src/crypto/md5/md5.go
src/crypto/rc4/rc4.go
src/crypto/sha1/sha1.go

index 781f07545534a7c5951ffc83f15f9ca16192cf82..a20879d57412da256a0bc737a484ba7488ee498a 100644 (file)
@@ -6,7 +6,8 @@
 // Triple Data Encryption Algorithm (TDEA) as defined
 // in U.S. Federal Information Processing Standards Publication 46-3.
 //
-// DES is broken and should not be used anymore.
+// DES is cryptographically broken and should not be used for secure
+// applications.
 package des
 
 // Used to perform an initial permutation of a 64-bit input block.
index 41afedd6a2fda4631783f5bf75b3ec63a76fb23b..b682f008942fbadac7acaf06a31530fd0b6542f9 100644 (file)
@@ -6,7 +6,8 @@
 
 // Package md5 implements the MD5 hash algorithm as defined in RFC 1321.
 //
-// MD5 is broken and should not be used anymore.
+// MD5 is cryptographically broken and should not be used for secure
+// applications.
 package md5
 
 import (
index 97534091d6edd685836d3e938de5f0a1db0f5425..772af0e7e0d4fdc5b9d38e18f04687dc38d3dcef 100644 (file)
@@ -5,7 +5,8 @@
 // Package rc4 implements RC4 encryption, as defined in Bruce Schneier's
 // Applied Cryptography.
 //
-// RC4 is broken and should not be used anymore.
+// RC4 is cryptographically broken and should not be used for secure
+// applications.
 package rc4
 
 import "strconv"
index 73a42e0090d9673a1d870f68103ceaa20b3873fe..6b1721470b20268431b3f3bd45a282aa5a195a5f 100644 (file)
@@ -4,7 +4,8 @@
 
 // Package sha1 implements the SHA-1 hash algorithm as defined in RFC 3174.
 //
-// SHA-1 is broken and should not be used anymore.
+// SHA-1 is cryptographically broken and should not be used for secure
+// applications.
 package sha1
 
 import (