Function assertSaneParameterisation

  • Assert Sane Parameters

    Parameters

    • P: bigint

      Modulus used to devide n, iff n is equivalent to (0 mod P).

    • a: bigint

      Factor by which to multiply n.

    • _b: bigint

    Returns void

    Remarks

    Handles the sanity check for the parameterisation (P,a,b) required by both the function and reverse function.

    Throws

    FailedSaneParameterCheck Thrown if either P or a are 0.

Generated using TypeDoc