Correct comment about AES crypto algorithm strength

This commit is contained in:
Mario Campos
2026-03-11 09:27:03 -05:00
committed by GitHub
parent bbd02b855b
commit 6fb10555ff

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