diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-06-24 16:52:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-24 16:52:02 +0200 |
commit | 72260a296c534950d9c899ee907e73b5dd0162f0 (patch) | |
tree | d9b33042a70c2d1e600c75855a29b3aa594aaab6 /vendor/golang.org/x/crypto/cast5/cast5.go | |
parent | cf244d87cdb9b2cb0d8510b2ea392d928c1eb269 (diff) | |
parent | d697456dc90adbaf68224ed7c115b38d5855e582 (diff) | |
download | podman-72260a296c534950d9c899ee907e73b5dd0162f0.tar.gz podman-72260a296c534950d9c899ee907e73b5dd0162f0.tar.bz2 podman-72260a296c534950d9c899ee907e73b5dd0162f0.zip |
Merge pull request #3414 from vrothberg/go-modules
Go modules
Diffstat (limited to 'vendor/golang.org/x/crypto/cast5/cast5.go')
-rw-r--r-- | vendor/golang.org/x/crypto/cast5/cast5.go | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/vendor/golang.org/x/crypto/cast5/cast5.go b/vendor/golang.org/x/crypto/cast5/cast5.go index 0b4af37bd..ddcbeb6f2 100644 --- a/vendor/golang.org/x/crypto/cast5/cast5.go +++ b/vendor/golang.org/x/crypto/cast5/cast5.go @@ -2,8 +2,15 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// Package cast5 implements CAST5, as defined in RFC 2144. CAST5 is a common -// OpenPGP cipher. +// Package cast5 implements CAST5, as defined in RFC 2144. +// +// CAST5 is a legacy cipher and its short block size makes it vulnerable to +// birthday bound attacks (see https://sweet32.info). It should only be used +// where compatibility with legacy systems, not security, is the goal. +// +// Deprecated: any new system should use AES (from crypto/aes, if necessary in +// an AEAD mode like crypto/cipher.NewGCM) or XChaCha20-Poly1305 (from +// golang.org/x/crypto/chacha20poly1305). package cast5 // import "golang.org/x/crypto/cast5" import "errors" |