Discover Packages
github.com/dedis/crypto
math
package
Version:
v0.0.0-...-0b3308b
Opens a new window with list of versions in this module.
Published: Jun 19, 2017
License: MPL-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package dissent/math contains big.Int arithmetic functions
that probably belong in Go's math/big package.
Compute the Jacobi symbol of (x/y) using Euclid's algorithm.
This is usually much faster modular multiplication via Euler's criterion.
Set z to one of the square roots of a modulo p if a square root exists.
The modulus p must be an odd prime.
Returns true on success, false if input a is not a square modulo p.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.