docs: public static Cipher newCipher(final String privateKey, final String algorithm,
  		final byte[] salt, final int iterationCount, final int operationMode)
  		throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException,
  		InvalidKeyException, InvalidAlgorithmParameterException, UnsupportedEncodingException
  	{
  		final KeySpec keySpec = KeySpecFactory.newPBEKeySpec(privateKey, salt, iterationCount);
  		final SecretKeyFactory factory = SecretKeyFactoryExtensions.newSecretKeyFactory(algorithm);
  		final SecretKey key = factory.generateSecret(keySpec);
  		final AlgorithmParameterSpec paramSpec = AlgorithmParameterSpecFactory
  			.newPBEParameterSpec(salt, iterationCount);
  		return newCipher(operationMode, key, paramSpec, key.getAlgorithm());
  	}