Skip to content

Commit f2e7dca

Browse files
authored
Merge pull request #21454 from github/mario-campos-patch-1
Correct comment about AES crypto algorithm strength
2 parents bbd02b8 + b9b3b3a commit f2e7dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ql/src/Security/CWE-327/examples/Crypto.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func EncryptMessageWeak(key []byte, message []byte) (dst []byte) {
1313
}
1414

1515
func EncryptMessageStrong(key []byte, message []byte) (dst []byte) {
16-
// GOOD, AES is a weak crypto algorithm
16+
// GOOD, AES is a strong crypto algorithm
1717
block, _ := aes.NewCipher(key)
1818
block.Encrypt(dst, message)
1919
return

0 commit comments

Comments
 (0)