Generates a digest based on the contents of a String. @param val specifies the input data. @param charset specifies the encoding of the input data. @return digest as long.
(String val, Charset charset)
Source from the content-addressed store, hash-verified