public static String createDigestHashValue(String hashType,boolean isSigned){
  StringBuilder sb=new StringBuilder(hashType);
  sb.append(isSigned);
  return sb.toString();
}

public static String createDigestHashValue ( String hashType , boolean isSigned ) { StringBuilder sb = new StringBuilder ( hashType ) ; sb . append ( isSigned ) ; return sb . toString ( ) ; }
create a hash value to look up a digest in the map of digest values .
