Update code comments

This commit is contained in:
Tobie Morgan Hitchcock 2016-08-28 09:28:33 +01:00
parent 6a97947084
commit 25d9927be2

View file

@ -26,7 +26,7 @@ func Encrypt(key []byte, src []byte) (dst []byte, err error) {
return src, nil return src, nil
} }
// Initiate AES256 // Initiate AES
block, err := aes.NewCipher(key) block, err := aes.NewCipher(key)
if err != nil { if err != nil {
return return
@ -54,7 +54,7 @@ func Decrypt(key []byte, src []byte) (dst []byte, err error) {
return src, nil return src, nil
} }
// Initiate AES256 // Initiate AES
block, err := aes.NewCipher(key) block, err := aes.NewCipher(key)
if err != nil { if err != nil {
return return