Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GamCryptography EO migration to GamUtils EO on Github #885

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

sgrampone
Copy link
Contributor

GamCryptography EO migration from svn to GamUtils EO on Github

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants