From 45a831fa4efb017ea6ec40d13282464367d35e36 Mon Sep 17 00:00:00 2001
From: Richard Alam <ritzalam@gmail.com>
Date: Mon, 11 Dec 2017 11:09:09 -0800
Subject: [PATCH]  - switch demo checksum to use sha256Hex

---
 bbb-api-demo/src/main/webapp/bbb_api.jsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bbb-api-demo/src/main/webapp/bbb_api.jsp b/bbb-api-demo/src/main/webapp/bbb_api.jsp
index f59d8f9235..ca034035d9 100755
--- a/bbb-api-demo/src/main/webapp/bbb_api.jsp
+++ b/bbb-api-demo/src/main/webapp/bbb_api.jsp
@@ -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();
 	}
-- 
GitLab