code: public static String hashAndBase64(final String hashIt, final String salt,
  		final HashAlgorithm hashAlgorithm, final Charset charset) throws NoSuchAlgorithmException
  	{
  		final String hashedAndBase64 = new Base64()
  			.encodeToString(hash(hashIt, salt, hashAlgorithm, charset).getBytes(charset));
  		return hashedAndBase64;
  	}
docs: Hashes and encodes it with base64 from the given {@link String} object with the given
  parameters.
  
  @param hashIt
  the hash it
  @param salt
  the salt
  @param hashAlgorithm
  the hash algorithm
  @param charset
  the charset
  @return the generated {@link String} object
  @throws NoSuchAlgorithmException
  is thrown if instantiation of the MessageDigest object fails.