├── .cargo └── config.toml ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── benches ├── bench.rs ├── cctv.rs └── rsa.bench.2048.txt ├── clippy.toml ├── resources └── docs-header.html ├── rustfmt.toml └── src ├── error.rs ├── fips.rs ├── generic.rs ├── hazmat.rs ├── hazmat ├── float.rs ├── gcd.rs ├── jacobi.rs ├── lucas.rs ├── miller_rabin.rs ├── precomputed.rs ├── primecount.rs ├── primes.rs ├── pseudoprimes.rs └── sieve.rs ├── lib.rs ├── multicore.rs └── presets.rs /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/README.md -------------------------------------------------------------------------------- /benches/bench.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/benches/bench.rs -------------------------------------------------------------------------------- /benches/cctv.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/benches/cctv.rs -------------------------------------------------------------------------------- /benches/rsa.bench.2048.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/benches/rsa.bench.2048.txt -------------------------------------------------------------------------------- /clippy.toml: -------------------------------------------------------------------------------- 1 | allow-unwrap-in-tests = true 2 | -------------------------------------------------------------------------------- /resources/docs-header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/resources/docs-header.html -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | max_width = 120 2 | edition = "2024" 3 | -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/fips.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/fips.rs -------------------------------------------------------------------------------- /src/generic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/generic.rs -------------------------------------------------------------------------------- /src/hazmat.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/hazmat.rs -------------------------------------------------------------------------------- /src/hazmat/float.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/hazmat/float.rs -------------------------------------------------------------------------------- /src/hazmat/gcd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/hazmat/gcd.rs -------------------------------------------------------------------------------- /src/hazmat/jacobi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/hazmat/jacobi.rs -------------------------------------------------------------------------------- /src/hazmat/lucas.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/hazmat/lucas.rs -------------------------------------------------------------------------------- /src/hazmat/miller_rabin.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/hazmat/miller_rabin.rs -------------------------------------------------------------------------------- /src/hazmat/precomputed.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/hazmat/precomputed.rs -------------------------------------------------------------------------------- /src/hazmat/primecount.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/hazmat/primecount.rs -------------------------------------------------------------------------------- /src/hazmat/primes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/hazmat/primes.rs -------------------------------------------------------------------------------- /src/hazmat/pseudoprimes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/hazmat/pseudoprimes.rs -------------------------------------------------------------------------------- /src/hazmat/sieve.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/hazmat/sieve.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/multicore.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/multicore.rs -------------------------------------------------------------------------------- /src/presets.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/entropyxyz/crypto-primes/HEAD/src/presets.rs --------------------------------------------------------------------------------