code: public static String hashHex(byte[] data, HashAlgorithm alg) throws NoSuchAlgorithmException {
  		return hashHex(data, alg.toString());
  	}
docs: Hashes data with the specified hashing algorithm. Returns a hexadecimal result.
  
  @since 1.1
  @param data the data to hash
  @param alg the hashing algorithm to use
  @return the hexadecimal hash of the data
  @throws NoSuchAlgorithmException the algorithm is not supported by existing providers