configurable to support different SHA algorithm
SHINDIG-1921
Comitted For Zhi Hong Yang

git-svn-id: https://svn.apache.org/repos/asf/shindig/trunk@1514559 13f79535-47bb-0310-9956-ffa450edef68