code: public static final void main(String [] args) {
          if (args.length != 2) {
              printUsage();
              return;
          }
          String cmd = args[0];
          String input = args[1];
          if ("encrypt".equals(cmd)) { //$NON-NLS-1$
              System.out.println(AesEncrypter.encrypt(input).substring("$CRYPT::".length())); //$NON-NLS-1$
          } else if ("decrypt".equals(cmd)) { //$NON-NLS-1$
              System.out.println(AesEncrypter.decrypt("$CRYPT::" + input)); //$NON-NLS-1$
          } else {
              printUsage();
          }
  
      }
docs: Main entry point for the encrypter.  Allows encryption and decryption of text
  from the command line.
  @param args