mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 09:14:27 +08:00
fix comment
This commit is contained in:
@@ -139,7 +139,7 @@ func AESGCMEncrypt(key []byte, plainText []byte) ([]byte, error) {
|
|||||||
return result, nil
|
return result, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// AESGCMEncrypt returns a decrypted string by aes-gcm
|
// AESGCMDecrypt returns a decrypted string by aes-gcm
|
||||||
func AESGCMDecrypt(key []byte, ciphertext []byte) ([]byte, error) {
|
func AESGCMDecrypt(key []byte, ciphertext []byte) ([]byte, error) {
|
||||||
block, err := aes.NewCipher(key)
|
block, err := aes.NewCipher(key)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user