Update code comments
This commit is contained in:
parent
6a97947084
commit
25d9927be2
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ func Encrypt(key []byte, src []byte) (dst []byte, err error) {
|
|||
return src, nil
|
||||
}
|
||||
|
||||
// Initiate AES256
|
||||
// Initiate AES
|
||||
block, err := aes.NewCipher(key)
|
||||
if err != nil {
|
||||
return
|
||||
|
@ -54,7 +54,7 @@ func Decrypt(key []byte, src []byte) (dst []byte, err error) {
|
|||
return src, nil
|
||||
}
|
||||
|
||||
// Initiate AES256
|
||||
// Initiate AES
|
||||
block, err := aes.NewCipher(key)
|
||||
if err != nil {
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue