code: private static Cipher getCipherInstance(String transformation) throws IllegalArgumentException
      {
          try
          {
              return Cipher.getInstance(transformation);
          }
          catch (Exception e)
          {
              throw new IllegalArgumentException(e);
          }
      }
docs: Create a {@link Cipher} instance by {@link Cipher#getInstance(String)
  Cipher.getInstance(transformation)}.