summaryrefslogblamecommitdiff
path: root/security/p5-Crypt-Primes/pkg-descr
blob: eda828ea65b9c1f0ae3def4c8a7a62752a965159 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                     
This module implements Ueli Maurer's algorithm for generating large
provable primes and secure parameters for public-key cryptosystems.
The generated primes are almost uniformly distributed over the set of
primes of the specified bitsize and expected time for generation is
less than the time required for generating a pseudo-prime of the same
size with Miller-Rabin tests. Detailed description and running time
analysis of the algorithm can be found in Maurer's paper[1].

Crypt::Primes is a pure perl implementation. It uses Math::Pari for
multiple precision integer arithmetic and number theoretic functions.
Random numbers are gathered with Crypt::Random, a perl interface to
/dev/u?random devices found on modern Unix operating systems.