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

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

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