BSD Ports

security/p5-Bytes-Random-Secure 0.29 FreeBSD

Generate cryptographically-secure random bytes

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
security, perl5
Package size
26.6 KiB, 52.4 KiB installed

Description

Bytes::Random::Secure provides two interfaces for obtaining crypto-quality random bytes. The simple interface is built around plain functions. For greater control over the Random Number Generator's seeding, there is an Object Oriented interface that provides much more flexibility.

The "functions" interface provides functions that can be used any time you need a string of a specific number of random bytes. The random bytes are available as simple strings, or as hex-digits, Quoted Printable, or MIME Base64. There are equivalent methods available from the OO interface, plus a few others.

This module can be a drop-in replacement for Bytes::Random, with the primary enhancement of using a cryptographic-quality random number generator to create the random data. The random_bytes function emulates the user interface of Bytes::Random's function by the same name. But with Bytes::Random::Secure the random number generator comes from Math::Random::ISAAC, and is suitable for cryptographic purposes. The harder problem to solve is how to seed the generator. This module uses Crypt::Random::Seed to generate the initial seeds for Math::Random::ISAAC.

In the other systems

SystemPortVersion
FreeBSDsecurity/p5-Bytes-Random-Secure0.29
NetBSDsecurity/p5-Bytes-Random-Secure0.29nb11
DragonFlysecurity/p5-Bytes-Random-Secure0.29

Install

Binary package:

pkg install p5-Bytes-Random-Secure

From the ports tree:

cd /usr/ports/security/p5-Bytes-Random-Secure/ && make install clean

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

RUN_DEPENDS=	p5-Bytes-Random-Secure>0:security/p5-Bytes-Random-Secure

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.290.290.290.290.29
FreeBSD:14:quarterly0.290.29n/a0.290.29
FreeBSD:15:latest0.290.29n/a0.290.29
FreeBSD:15:quarterly0.290.29n/an/an/a
FreeBSD:16:latest0.290.29n/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 5
Run dependencies 5

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Bytes/Random/Secure.pm
  • %%PERL5_MAN3%%/Bytes::Random::Secure.3.gz
distinfo 1
FileSizeSHA256
Bytes-Random-Secure-0.29.tar.gz2800753bbd339e6a11efca07c619a615c7c188a68bb2be849a1cb7efc3dd4d9ae85ae
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.