sdiehl / galois-field

Finite field and algebraic extension field arithmetic
MIT License
50 stars 13 forks source link

Updates to support serilization #30

Closed sumo closed 4 years ago

sumo commented 4 years ago

Pull Request Checklist

I've build serialisation in a separate library but unfortunately there is no equivalent to fromE for RootsOfUnity so have had to add one in.

Also the current bounds don't build when cabal selects protolude-0.3 because :% for rationals has been removed so I've included a fix.

sumo commented 4 years ago

Thanks for merging, any chance you could push to hackage as well?

All looks good to me. Out of curiosity what serialisation are you supporting?

Current MCL (https://hg.sr.ht/~sumo/pairing-serialize) so I can use the pairing library with with MCL WASM.