Merge pull request #21454 from github/mario-campos-patch-1

Correct comment about AES crypto algorithm strength
This commit is contained in:
Mario Campos
2026-03-11 22:43:21 -05:00
committed by GitHub

View File

@@ -13,7 +13,7 @@ func EncryptMessageWeak(key []byte, message []byte) (dst []byte) {
}
func EncryptMessageStrong(key []byte, message []byte) (dst []byte) {
// GOOD, AES is a weak crypto algorithm
// GOOD, AES is a strong crypto algorithm
block, _ := aes.NewCipher(key)
block.Encrypt(dst, message)
return