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
| System | Port | Version |
|---|---|---|
| FreeBSD | security/p5-Crypt-Primes | 0.52 |
| NetBSD | security/p5-Crypt-Primes | 0.52nb2 |
| DragonFly | security/p5-Crypt-Primes | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.52 | 0.52 | 0.50_2 | - | 0.52 |
| FreeBSD:14:quarterly | 0.52 | 0.52 | n/a | 0.52 | 0.52 |
| FreeBSD:15:latest | 0.52 | 0.52 | n/a | - | - |
| FreeBSD:15:quarterly | 0.52 | 0.52 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.52 | 0.52 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Crypt-Random>=0: security/p5-Crypt-Randomp5-Math-Pari>=0: math/p5-Math-Pari
Runtime 2
p5-Crypt-Random>=0: security/p5-Crypt-Randomp5-Math-Pari>=0: math/p5-Math-Pari
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
| File | Size | SHA256 |
|---|---|---|
| Crypt-Primes-0.52.tar.gz | 151272 | 8d32c7f810c755359a96812cf916d42e2bb4450b5d1ea2044b7bf19077d7081f |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.