public String calculateFromString(String data) throws Exception {
  log.trace("Calculating digest with algorithm URI '{}' for data:\n{}",algoURI,data);
  return calculateFromBytes(data.getBytes(StandardCharsets.UTF_8));
}

public String calculateFromString ( String data ) throws Exception { log . trace ( "Calculating digest with algorithm URI '{}' for data:\n{}" , algoURI , data ) ; return calculateFromBytes ( data . getBytes ( StandardCharsets . UTF_8 ) ) ; }
calculates hash value in base64 format .
