crypto-primes

Crates.iocrypto-primes
lib.rscrypto-primes
version0.6.0-pre.2
sourcesrc
created_at2023-01-21 04:51:48.871695
updated_at2024-10-19 00:29:33.786568
descriptionRandom prime number generation and primality checking library
homepage
repositoryhttps://github.com/entropyxyz/crypto-primes
max_upload_size
id763976
size166,882
David (dvdplm)

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: 177

cargo fmt