# $Id: Portfile 86342 2011-10-24 14:50:15Z jmr@macports.org $

PortSystem      1.0
PortGroup       perl5 1.0

perl5.setup     Crypt-Primes 0.50
revision        3
license         {Artistic-1 GPL}
maintainers     nomaintainer
description     Provable Prime Number Generator suitable for Cryptographic Applications.
long_description 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.

platforms       darwin
checksums       md5 041947b9645142615d687b89cf2e1a7b

if {${perl5.major} != ""} {
depends_lib-append     port:p${perl5.major}-crypt-random \
                port:p${perl5.major}-math-pari

supported_archs noarch
}
