Skip to content
Snippets Groups Projects
Commit 45a831fa authored by Richard Alam's avatar Richard Alam
Browse files

- switch demo checksum to use sha256Hex

parent 9e7e2a19
No related branches found
No related tags found
No related merge requests found
......@@ -735,7 +735,7 @@ public String getMetaData( Map<String, String> metadata ) {
public static String checksum(String s) {
String checksum = "";
try {
checksum = org.apache.commons.codec.digest.DigestUtils.shaHex(s);
checksum = org.apache.commons.codec.digest.DigestUtils.sha256Hex(s);
} catch (Exception e) {
e.printStackTrace();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment