| 1 |
Source: libbytes-random-secure-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Uploaders: gregor herrmann <[email protected]> |
| 4 |
Section: perl |
| 5 |
Testsuite: autopkgtest-pkg-perl |
| 6 |
Priority: optional |
| 7 |
Build-Depends: debhelper-compat (= 13) |
| 8 |
Build-Depends-Indep: libcrypt-random-seed-perl, |
| 9 |
libmath-random-isaac-perl, |
| 10 |
libstatistics-basic-perl, |
| 11 |
perl |
| 12 |
Standards-Version: 4.1.5 |
| 13 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libbytes-random-secure-perl |
| 14 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libbytes-random-secure-perl.git |
| 15 |
Homepage: https://metacpan.org/release/Bytes-Random-Secure |
| 16 |
|
| 17 |
Package: libbytes-random-secure-perl |
| 18 |
Architecture: all |
| 19 |
Depends: ${misc:Depends}, |
| 20 |
${perl:Depends}, |
| 21 |
libcrypt-random-seed-perl, |
| 22 |
libmath-random-isaac-perl |
| 23 |
Multi-Arch: foreign |
| 24 |
Description: Perl extension to generate cryptographically-secure random bytes |
| 25 |
Bytes::Random::Secure provides two interfaces for obtaining crypt-quality |
| 26 |
random bytes. The simple interface is built around plain functions. For |
| 27 |
greater control over the Random Number Generator's seeding, there is an |
| 28 |
Object Oriented interface that provides much more flexibility. |
| 29 |
. |
| 30 |
The "functions" interface provides five functions that can be used any time |
| 31 |
you need a string (or MIME Base64 representation, or hex-digits |
| 32 |
representation, or Quoted Printable representation) of a specific number of |
| 33 |
random bytes. There are equivalent methods available via the OO interface. |
| 34 |
. |
| 35 |
Bytes::Random::Secure can be a drop-in replacement for Bytes::Random, with |
| 36 |
the primary enhancement of using a much higher quality random number |
| 37 |
generator to create the random data. The random_bytes function emulates the |
| 38 |
user interface of Bytes::Random's function by the same name. But with |
| 39 |
Bytes::Random::Secure the random number generator comes from |
| 40 |
Math::Random::ISAAC, and is suitable for cryptographic purposes. The harder |
| 41 |
problem to solve is how to seed the generator. This module uses |
| 42 |
Crypt::Random::Seed to generate the initial seeds for Math::Random::ISAAC. |