BSD Ports

security/p5-Crypt-Primes 0.52 FreeBSD

Provable Prime Number Generator suitable for Cryptographic Applications

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
security, perl5
Package size
28.2 KiB, 96.9 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

SystemPortVersion
FreeBSDsecurity/p5-Crypt-Primes0.52
NetBSDsecurity/p5-Crypt-Primes0.52nb2
DragonFlysecurity/p5-Crypt-Primes0.52

Install

Binary package:

pkg install p5-Crypt-Primes

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Crypt-Primes>0:security/p5-Crypt-Primes

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.520.520.50_2-0.52
FreeBSD:14:quarterly0.520.52n/a0.520.52
FreeBSD:15:latest0.520.52n/a--
FreeBSD:15:quarterly0.520.52n/an/an/a
FreeBSD:16:latest0.520.52n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 7
Run dependencies 7

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • bin/largeprimes
  • %%SITE_PERL%%/Crypt/Primes.pm
  • %%PERL5_MAN1%%/largeprimes.1.gz
  • %%PERL5_MAN3%%/Crypt::Primes.3.gz
distinfo 1
FileSizeSHA256
Crypt-Primes-0.52.tar.gz1512728d32c7f810c755359a96812cf916d42e2bb4450b5d1ea2044b7bf19077d7081f
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.