montgomeryRSquared
montgomeryRSquared(
modulus,words):bigint
Defined in: kernel/common/montgomery-r-squared.ts:5
R² mod modulus, where R = 2^(64 × words) — the constant that converts a
value into Montgomery form. Computed once per modulus from public data.
Parameters
Section titled “Parameters”modulus
Section titled “modulus”bigint
number
Returns
Section titled “Returns”bigint