package
0.0.0-20241102131135-b546fe3e7180
Repository: https://github.com/olegfomenko/crypto.git
Documentation: pkg.go.dev

# Functions

FindSquareRoot uses Cipolla algorithm to solve x^2 = a (mod P) More information: https://en.wikipedia.org/wiki/Cipolla%27s_algorithm.
No description provided by the author
No description provided by the author
Jacobi method calculates Jacobi symbol.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TestPrime implements the Solovay–Strassen test for prime numbers More info: https://en.wikipedia.org/wiki/Solovay%E2%80%93Strassen_primality_test.

# Structs

F2 represents field extension for F(sqrt(i)): {x + y*sqrt(i) | x, y from F_modulo}.