Skip to content

Commit

Permalink
Fix code scanning alert no. 4: Use of a broken or risky cryptographic…
Browse files Browse the repository at this point in the history
… algorithm

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
  • Loading branch information
shulng and github-advanced-security[bot] committed Oct 1, 2024
1 parent 77ec689 commit febe8bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class CommunicationAuth {

static {
try {
messageDigest = MessageDigest.getInstance("MD5");
messageDigest = MessageDigest.getInstance("SHA-256");
} catch (NoSuchAlgorithmException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit febe8bc

Please sign in to comment.