9 releases (5 breaking)
0.6.0-pre.2 | Oct 19, 2024 |
---|---|
0.6.0-pre.0 | Dec 29, 2023 |
0.5.0 | Aug 21, 2023 |
0.4.1 | Jul 12, 2023 |
0.2.0 | Mar 6, 2023 |
#154 in Cryptography
1,760 downloads per month
Used in 8 crates
(2 directly)
130KB
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.9–6MB
~127K SLoC