As far as I can tell the order of the group isn't defined as a constant or function returning a big.Int in the API. This makes it very hard to do arithmetic outside the package and then pass in the result: this is necessary for things like picking random points or doing arithmetic in the exponents.
I can easily submit a PR to fix this if you think it's a good idea, but want to know what you think of the various ways to solve this problem.
As far as I can tell the order of the group isn't defined as a constant or function returning a big.Int in the API. This makes it very hard to do arithmetic outside the package and then pass in the result: this is necessary for things like picking random points or doing arithmetic in the exponents.
I can easily submit a PR to fix this if you think it's a good idea, but want to know what you think of the various ways to solve this problem.