1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Provable Prime Number Generator suitable for Cryptographic Applications

This commit is contained in:
Michael Haro 2001-09-12 01:09:39 +00:00
parent fce9074107
commit 409354ab19
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47725
6 changed files with 49 additions and 0 deletions

View File

@ -116,6 +116,7 @@
SUBDIR += p5-Crypt-IDEA
SUBDIR += p5-Crypt-OpenSSL-RSA
SUBDIR += p5-Crypt-OpenSSL-Random
SUBDIR += p5-Crypt-Primes
SUBDIR += p5-Crypt-Random
SUBDIR += p5-Crypt-Rijndael
SUBDIR += p5-Crypt-SSLeay

View File

@ -0,0 +1,29 @@
# New ports collection makefile for: p5-Crypt-Primes
# Date created: Tue Sep 11 10:31:23 PDT 2001
# Whom: Michael Haro <mharo@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Crypt-Primes
PORTVERSION= 0.49
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Crypt
PKGNAMEPREFIX= p5-
MAINTAINER= mharo@FreeBSD.org
PERLBASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
BUILD_DEPENDS= ${PERLBASE}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random \
${PERLBASE}/${PERL_ARCH}/Math/Pari.pm:${PORTSDIR}/math/p5-Math-Pari
RESTRICTED= "Crypto; export-controlled"
PERL_CONFIGURE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Crypt::Primes.3
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Crypt-Primes-0.49.tar.gz) = 8f642885306967a5294ce16865af71d0

View File

@ -0,0 +1 @@
Provable Prime Number Generator suitable for Cryptographic Applications

View File

@ -0,0 +1,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.

View File

@ -0,0 +1,5 @@
bin/largeprimes
lib/perl5/site_perl/%%PERL_VER%%/Crypt/Primes.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Primes/.packlist
man/man1/largeprimes.1
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/Primes