mirror of https://github.com/golang/go.git
Add example of how to use the aes package to implement AES encryption and decryption within an application. Per feedback, use more secure AES-GCM implementation as an example in crypto/cipher instead of AES directly. Change-Id: I84453ebb18e0bc79344a24171a031ec0d7ccec2e Reviewed-on: https://go-review.googlesource.com/18803 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> |
||
|---|---|---|
| .. | ||
| benchmark_test.go | ||
| cbc.go | ||
| cbc_aes_test.go | ||
| cfb.go | ||
| cfb_test.go | ||
| cipher.go | ||
| cipher_test.go | ||
| common_test.go | ||
| ctr.go | ||
| ctr_aes_test.go | ||
| ctr_test.go | ||
| example_test.go | ||
| gcm.go | ||
| gcm_test.go | ||
| io.go | ||
| ofb.go | ||
| ofb_test.go | ||
| xor.go | ||
| xor_test.go | ||