Skip to content

Conversation

sgrampone
Copy link
Contributor

@sgrampone sgrampone commented Jul 26, 2024

Issue:203806
GamCryptography EO migration from svn to GamUtils EO on Github

#GXSEC

@sgrampone sgrampone requested a review from iroqueta July 26, 2024 19:24
public String ComputeHash(String data) {
try {
if (alg == null) alg = MessageDigest.getInstance("SHA-512");
alg.update(data.getBytes(CharEncoding.UTF_8));
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's better to use StandardCharsets.UTF_8 instead of CharEncoding.UTF_8
Using StandardCharsets UnsupportedEncodingException catch is unnecessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would prefer to not change that, it is the old implementation copied into resources to check for backwards compatibility.

@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@genexusbot
Copy link
Collaborator

BETA RESET - Cherry pick to beta failed, 2 conflicted files in commit 2d150fc
  • README.md
  • pom.xml

@genexusbot
Copy link
Collaborator

Manual cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@genexusbot
Copy link
Collaborator

Cherry pick to beta success

@sgrampone sgrampone merged commit 8556bc4 into master Aug 1, 2025
9 checks passed
@sgrampone sgrampone deleted the gamutils_eo branch August 1, 2025 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants