NewIntBytes creates a new Int with a given slice of bytes and a big.Int modulus.
(a []byte, m *big.Int, byteOrder ByteOrder)
| 64 | // NewIntBytes creates a new Int with a given slice of bytes and a big.Int |
| 65 | // modulus. |
| 66 | func NewIntBytes(a []byte, m *big.Int, byteOrder ByteOrder) *Int { |
| 67 | return new(Int).InitBytes(a, m, byteOrder) |
| 68 | } |
| 69 | |
| 70 | // NewIntString creates a new Int with a given string and a big.Int modulus. |
| 71 | // The value is set to a rational fraction n/d in a given base. |