ModularReducer.square

Square mod p

struct ModularReducer
const
square
()
(
const(BigInt)* x
)

Parameters

x const(BigInt)*

integer

Return Value

Type: BigInt

(x * x) % p

Meta