Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorIntOverflow = errors.New("integer overflow")
ErrorIntOverflow For asserting that the values do not overflow in Int64
View Source
var ErrorInverse = errors.New("no Modular Inverse exists")
View Source
var ErrorNegativeExponent = errors.New("negative Exponent provided")
ErrorNegativeExponent for asserting that the exponent we receive is positive
Functions ¶
func Exponentiation ¶
Exponentiation returns base^exponent % mod
func Multiply64BitInt ¶
Multiply64BitInt Checking if the integer multiplication overflows
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.