code: public static SecretKeySpec newSecretKeySpec(final byte[] secretKey, final String algorithm)
  		throws NoSuchAlgorithmException
  	{
  		final SecretKeySpec secretKeySpec = new SecretKeySpec(secretKey, algorithm);
  		return secretKeySpec;
  	}
docs: Factory method for creating a new {@link SecretKeySpec} from the given algorithm and the
  given secret key as byte array.
  
  @param algorithm
  the algorithm
  @param secretKey
  the secret key
  @return the new {@link SecretKeySpec} from the given algorithm and the given secret key.
  @throws NoSuchAlgorithmException
  the no such algorithm exception