code: public static HashId createHashId(String string) throws IOException {
  	try (ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(
  		string.getBytes(Charset.defaultCharset()))) {
  	    return createHashId(byteArrayInputStream);
  	}
      }
docs: This method creates a {@link HashId} from a {@link String}.
  
  @param string
  is the string from which the {@link HashId} is to be created.
  @return A {@link HashId} is returned.
  @throws IOException
  is thrown in cases of IO issues.