crypto-primes

Crates.iocrypto-primes
lib.rscrypto-primes
version0.6.0-pre.0
sourcesrc
created_at2023-01-21 04:51:48.871695
updated_at2023-12-29 20:18:09.360815
descriptionRandom prime number generation and primality checking library
homepage
repositoryhttps://github.com/entropyxyz/crypto-primes
max_upload_size
id763976
size157,916
Bogdan Opanchuk (fjarri)

documentation

README

Prime number tools for crypto-bigint

crate Docs License Build Status Coverage

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.

Commit count: 145

cargo fmt