diff options
| author | Rob Pike <r@golang.org> | 2015-12-22 15:24:21 -0800 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2015-12-22 23:26:12 +0000 |
| commit | 54641818c97077f59ae968752c3a66576cffbe56 (patch) | |
| tree | b5cc02c3667156dca1ba679dea7c570427bbecf0 /src/crypto/cipher | |
| parent | 4e6750af81996424f26115be1b2d13665764db8a (diff) | |
| download | go-54641818c97077f59ae968752c3a66576cffbe56.tar.xz | |
crypto/cipher: fix typo from last change
s/encrypt/decrypt/
The text is unsafe to cut and paste...
Change-Id: Iab19ddf8182d087e9a4b4d34a9eeabd1d2aa02d6
Reviewed-on: https://go-review.googlesource.com/18104
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/crypto/cipher')
| -rw-r--r-- | src/crypto/cipher/gcm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/cipher/gcm.go b/src/crypto/cipher/gcm.go index cf13319dfe..5f18f8c490 100644 --- a/src/crypto/cipher/gcm.go +++ b/src/crypto/cipher/gcm.go @@ -37,7 +37,7 @@ type AEAD interface { // value passed to Seal. // // The ciphertext and dst may alias exactly or not at all. To reuse - // ciphertext's storage for the encrypted output, use ciphertext[:0] as dst. + // ciphertext's storage for the decrypted output, use ciphertext[:0] as dst. Open(dst, nonce, ciphertext, additionalData []byte) ([]byte, error) } |
