Skip to content

Correct comment about AES crypto algorithm strength#21454

Open
mario-campos wants to merge 1 commit intomainfrom
mario-campos-patch-1
Open

Correct comment about AES crypto algorithm strength#21454
mario-campos wants to merge 1 commit intomainfrom
mario-campos-patch-1

Conversation

@mario-campos
Copy link
Contributor

This pull request corrects a comment in the EncryptMessageStrong function to accurately describe AES as a strong cryptographic algorithm.

@mario-campos mario-campos requested a review from owen-mc March 11, 2026 14:27
@mario-campos mario-campos requested a review from a team as a code owner March 11, 2026 14:27
Copilot AI review requested due to automatic review settings March 11, 2026 14:27
@github-actions github-actions bot added the Go label Mar 11, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates an example comment in the Go CWE-327 (Use of a Broken or Risky Cryptographic Algorithm) sample code to correctly describe AES as a strong cryptographic algorithm, aligning the narrative with the intended “weak vs strong” examples.

Changes:

  • Corrected the EncryptMessageStrong comment to state AES is strong (not weak).

Copy link
Contributor

@owen-mc owen-mc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, copy-paste error I guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants