Ejemplo n.º 1
0
  public static String seedDecode(String str) throws Exception {

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

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