fix comment

This commit is contained in:
MaysWind
2020-12-23 01:41:19 +08:00
parent b3962e8af9
commit 543ed4c850
+1 -1
View File
@@ -139,7 +139,7 @@ func AESGCMEncrypt(key []byte, plainText []byte) ([]byte, error) {
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) {
block, err := aes.NewCipher(key)