code: public static SecretKeyFactory newSecretKeyFactory(final String algorithm)
  		throws NoSuchAlgorithmException
  	{
  		final SecretKeyFactory factory = SecretKeyFactory.getInstance(algorithm);
  		return factory;
  	}
docs: Factory method for creating a new {@link SecretKeyFactory} from the given algorithm.
  
  @param algorithm
  the algorithm
  @return the new {@link SecretKeyFactory} from the given algorithm.
  @throws NoSuchAlgorithmException
  is thrown if instantiation of the SecretKeyFactory object fails.