BSD Ports

security/p5-Crypt-Primes 0.52 DragonFly

Provable Prime Number Generator suitable for Cryptographic Applications

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, security
Package size
26.0 KiB, 97.3 KiB installed

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. 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.

In the other systems

The newest version among them is 0.52, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlysecurity/p5-Crypt-Primes0.52 newestnone known-[email protected]-
FreeBSDsecurity/p5-Crypt-Primes0.52 newestnone known-[email protected]-
NetBSDsecurity/p5-Crypt-Primes0.52nb2 newestnone known-[email protected]2026-07-16
GhostBSDsecurity/p5-Crypt-Primes0.52 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-Crypt-Primes

From DPorts:

cd /usr/dports/security/p5-Crypt-Primes && make install clean

Dependencies

Run dependencies 3
Required by 1