public String hashAndHexPassword ( final String password , final String salt , final HashAlgorithm hashAlgorithm , final Charset charset ) throws NoSuchAlgorithmException , InvalidKeyException , UnsupportedEncodingException , NoSuchPaddingException , IllegalBlockSizeException , BadPaddingException , InvalidKeySpecException , InvalidAlgorithmParameterException { final String hashedPassword = Hasher . hashAndHex ( password , salt , hashAlgorithm , charset ) ; return hashedPassword ; }
Hash and hex the given password with the given salt hash algorithm and charset .