Репозиторий Sisyphus
Последнее обновление: 4 июня 2020 | Пакетов: 17570 | Посещений: 18692988
en ru br
Репозитории ALT

Группа :: Разработка/Perl
Пакет: perl-Bytes-Random-Secure

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Текущая версия: 0.29-alt1
Время сборки: 11 октября 2015, 17:28 ( 242.6 недели назад )
Размер архива: 33.72 Kb

Домашняя страница:   http://search.cpan.org/dist/Bytes-Random-Secure…

Лицензия: perl
О пакете: Perl extension to generate cryptographically-secure random bytes.

the Bytes::Random::Secure manpage 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 the Bytes::Random manpage, 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
the Bytes::Random manpage's function by the same name.  But with Bytes::Random::Secure
the random number generator comes from the Math::Random::ISAAC manpage, and is suitable
for cryptographic purposes.  The harder problem to solve is how to seed the
generator.  This module uses the Crypt::Random::Seed manpage to generate the initial
seeds for Math::Random::ISAAC.

In addition to providing `random_bytes()', this module also provides several
functions not found in the Bytes::Random manpage: `random_string_from',
`random_bytes_base64()', `random_bytes_hex', and `random_bytes_qp'.

And finally, for those who need finer control over how the Crypt::Random::Seed manpage
generates its seed, there is an object oriented interface with a constructor
that facilitates configuring the seeding process, while providing methods that
do everything the "functions" interface can do (truth be told, the functions
interface is just a thin wrapper around the OO version, with some sane defaults
selected).  The OO interface also provides an `irand' method, not available
through the functions interface.

Текущий майнтейнер: Igor Vlasenko

Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета:

Список rpm-пакетов, предоставляемый данным srpm-пакетом:

  • perl-Bytes-Random-Secure
    дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    текущий майнтейнер: Michael Shigorin