package
0.6.0-alpha-2021-09-21
Repository: https://github.com/taurusgroup/multi-party-sig.git
Documentation: pkg.go.dev

# Functions

IsInIntervalLEps returns true if n ∈ [-2ˡ⁺ᵉ,…,2ˡ⁺ᵉ].
IsInIntervalLPrimeEps returns true if n ∈ [-2ˡ'⁺ᵉ,…,2ˡ'⁺ᵉ].
IsValidBigModN checks that ints are all in the range [1,…,N-1] and co-prime to N.
IsValidNatModN checks that ints are all in the range [1,…,N-1] and co-prime to N.
ModulusFromFactors creates the necessary cached values to accelerate exponentiation mod n.
ModulusFromN creates a simple wrapper around a given modulus n.

# Structs

Modulus wraps a safenum.Modulus and enables faster modular exponentiation when the factorization is known.