code: public static String encrypt(String input) {
          try {
              return encrypt(input, null);
          } catch (GeneralSecurityException e) {
              e.printStackTrace();
              return null;
          }
      }
docs: Encrypt a string using a default key
  @param input data to encrypt
  @return encrypted string