Skip to content

Commit

Permalink
crypto/cipher: fix typo from last change
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
robpike committed Dec 22, 2015
1 parent 4e6750a commit 5464181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/cipher/gcm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 5464181

Please sign in to comment.