BSD Ports

security/p5-Data-Entropy 0.007 MidnightBSD

Entropy (randomness) management

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
787dcc0cd6
License
artistic, gpl+
Categories
security, perl5

Description

This module maintains a concept of a current selection of entropy source. Algorithms that require entropy can use the source nominated by this module, avoiding the need for entropy source objects to be explicitly passed around. This is convenient because usually one entropy source will be used for an entire program run and so an explicit entropy source parameter would rarely vary. There is also a default entropy source, avoiding the need to explicitly configure a source at all.

If nothing is done to set a source then it defaults to the use of Rijndael (AES) in counter mode (see Data::Entropy::RawSource::CryptCounter and Crypt::Rijndael), keyed using Perl's built-in rand function. This gives a data stream that looks like concentrated entropy, but really only has at most the entropy of the rand seed. Within a single run it is cryptographically difficult to detect the correlation between parts of the pseudo-entropy stream. If more true entropy is required then it is necessary to configure a different entropy source.

In the other systems

SystemPortVersion
MidnightBSDsecurity/p5-Data-Entropy0.007
NetBSDdevel/p5-Data-Entropy0.010
DragonFlysecurity/p5-Data-Entropy0.007_1

Install

Binary package:

mport install p5-Data-Entropy

From mports:

cd /usr/mports/security/p5-Data-Entropy && make install clean

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

RUN_DEPENDS=	p5-Data-Entropy>0:security/p5-Data-Entropy

Dependencies

As this port's Makefile names them.

Runtime 4

Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 14
  • %%PERL5_MAN3%%/Data::Entropy.3.gz
  • %%PERL5_MAN3%%/Data::Entropy::Algorithms.3.gz
  • %%PERL5_MAN3%%/Data::Entropy::RawSource::CryptCounter.3.gz
  • %%PERL5_MAN3%%/Data::Entropy::RawSource::Local.3.gz
  • %%PERL5_MAN3%%/Data::Entropy::RawSource::RandomOrg.3.gz
  • %%PERL5_MAN3%%/Data::Entropy::RawSource::RandomnumbersInfo.3.gz
  • %%PERL5_MAN3%%/Data::Entropy::Source.3.gz
  • %%SITE_PERL%%/Data/Entropy.pm
  • %%SITE_PERL%%/Data/Entropy/Algorithms.pm
  • %%SITE_PERL%%/Data/Entropy/RawSource/CryptCounter.pm
  • %%SITE_PERL%%/Data/Entropy/RawSource/Local.pm
  • %%SITE_PERL%%/Data/Entropy/RawSource/RandomOrg.pm
  • %%SITE_PERL%%/Data/Entropy/RawSource/RandomnumbersInfo.pm
  • %%SITE_PERL%%/Data/Entropy/Source.pm
distinfo 1
FileSizeSHA256
Data-Entropy-0.007.tar.gz436672611c4a1a3038594d79ea4ed14d9e15a9af8f77105f51667795fe4f8a53427e4
Master sites 1
  • CPAN

Commit history 1

DateCommitCreditsLog message
787dcc0cd6 Lucas Holt all p5 ports: fix CPAN author fetch paths
Add CPAN author subdirectories for 42 distributions whose generic module paths no longer resolve. AI-Assisted-by: Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>