[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#701576: ITP: libbytes-random-secure-perl -- Perl extension to generate cryptographically-secure random bytes

Package: wnpp
Owner: gregor herrmann <gregoa@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name    : libbytes-random-secure-perl
  Version         : 0.25
  Upstream Author : David Oswald <davido@cpan.org>
* URL             : https://metacpan.org/release/Bytes-Random-Secure/
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : Perl extension to generate cryptographically-secure random bytes

Bytes::Random::Secure provides two interfaces for obtaining crypt-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 five functions that can be used any time
you need a string (or MIME Base64 representation, or hex-digits
representation, or Quoted Printable representation) of a specific number of
random bytes. There are equivalent methods available via the OO interface.

Bytes::Random::Secure can be a drop-in replacement for Bytes::Random, with
the primary enhancement of using a much higher 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.

Reply to: