NewInt64 creates a new Int with a given int64 value and big.Int modulus.
(v int64, M *big.Int)
| 58 | |
| 59 | // NewInt64 creates a new Int with a given int64 value and big.Int modulus. |
| 60 | func NewInt64(v int64, M *big.Int) *Int { |
| 61 | return new(Int).Init64(v, M) |
| 62 | } |
| 63 | |
| 64 | // NewIntBytes creates a new Int with a given slice of bytes and a big.Int |
| 65 | // modulus. |