Skip to content

Commit

Permalink
md5 was never used in trifa for cryptographic purposes, but comment t…
Browse files Browse the repository at this point in the history
…his function out so that github does not trigger a security alert
  • Loading branch information
zoff99 committed Oct 1, 2023
1 parent 3066cf1 commit 9b49056
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ public static byte[] sha256(byte[] input)
}
}

/* it's unused. and md5 should never be used for cryptographic purposes
public static byte[] md5(byte[] input)
{
try
Expand All @@ -176,4 +177,5 @@ public static byte[] md5(byte[] input)
throw new RuntimeException(e);
}
}
*/
}

0 comments on commit 9b49056

Please sign in to comment.