Nik-U/pbc

Elements are incompatible

Opened this issue · 1 comments

Thank you for your amazing Go bindings, but I have several questions:

  1. How can I use different Pairings objects for calculations with same shared parameters?
  2. Is it possible to compare different Elements by their values, not by pointers like Equals method does?
  3. Would be Elements.Equals() method more appropriate if it compared elements through their bytes representation?

Ran into the same issue. Different pairing objects instantiated with the same parameters have incompatible elements. Any ideas on how to fix this?