7 releases (breaking)
0.6.0-pre.0 | Dec 29, 2023 |
---|---|
0.5.0 | Aug 21, 2023 |
0.4.1 | Jul 12, 2023 |
0.4.0 | Jun 28, 2023 |
0.1.0 | Jan 21, 2023 |
#252 in Cryptography
1,150 downloads per month
Used in 3 crates
(2 directly)
125KB
2K
SLoC
Prime number tools for crypto-bigint
This library implements prime number generation and primality checking for crypto-bigint
integers.
In particular:
- Generating random primes and safe primes of given bit size;
- Sieving iterator;
- Miller-Rabin test;
- Strong and extra strong Lucas tests, and Lucas-V test.
See the documentation for the specific tests for more information and references.
Dependencies
~0.8–6MB
~122K SLoC