Example #1
0
  public static String seedDecode(String str) throws Exception {

    if (keys == null) {
      init_seed();
    }
    str = SeedWRapper.decodeAndDecrypt(str, keys);
    return str;
  }
Example #2
0
  public static String seedEncode(String str) throws Exception {

    if (keys == null) {
      init_seed();
    }
    str = SeedWRapper.encryptAndEncoding(str, keyfilename);
    return str;
  }