question: 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 ) ) ; }
target:  Calculates hash value in base64 format.