mirror of
https://github.com/golang/go
synced 2024-10-04 19:21:21 -06:00
9af83462c6
The decryption example for AES-GCM was not executed, hiding the fact that the provided ciphertext could not be authenticated. This commit adds the required output comment, replaces the ciphertext with a working example, and removes an unnecessary string conversion along the way. Change-Id: Ie6729ca76cf4a56c48b33fb3b39872105faa604b Reviewed-on: https://go-review.googlesource.com/22953 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
benchmark_test.go | ||
cbc_aes_test.go | ||
cbc.go | ||
cfb_test.go | ||
cfb.go | ||
cipher_test.go | ||
cipher.go | ||
common_test.go | ||
ctr_aes_test.go | ||
ctr_test.go | ||
ctr.go | ||
example_test.go | ||
gcm_test.go | ||
gcm.go | ||
io.go | ||
ofb_test.go | ||
ofb.go | ||
xor_test.go | ||
xor.go |