Commit ec0ee7d3 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

crypto: revise wording about cryptographically broken algorithms

Updates text from https://golang.org/cl/42511

Updates #14395

Change-Id: I711100525e074ab360e577520280c37645db1c95
Reviewed-on: https://go-review.googlesource.com/42614Reviewed-by: default avatarEmmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: default avatarRob Pike <r@golang.org>
parent e9635103
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
// Triple Data Encryption Algorithm (TDEA) as defined // Triple Data Encryption Algorithm (TDEA) as defined
// in U.S. Federal Information Processing Standards Publication 46-3. // 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 package des
// Used to perform an initial permutation of a 64-bit input block. // Used to perform an initial permutation of a 64-bit input block.
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
// Package md5 implements the MD5 hash algorithm as defined in RFC 1321. // 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 package md5
import ( import (
......
...@@ -5,7 +5,8 @@ ...@@ -5,7 +5,8 @@
// Package rc4 implements RC4 encryption, as defined in Bruce Schneier's // Package rc4 implements RC4 encryption, as defined in Bruce Schneier's
// Applied Cryptography. // 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 package rc4
import "strconv" import "strconv"
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
// Package sha1 implements the SHA-1 hash algorithm as defined in RFC 3174. // 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 package sha1
import ( import (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment