You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
174 B

  1. package ff
  2. import "math/big"
  3. func NewElement() *Element {
  4. return &Element{}
  5. }
  6. func (e *Element) BigInt() *big.Int {
  7. b := big.NewInt(0)
  8. e.ToBigIntRegular(b)
  9. return b
  10. }