| 1 |
Crypt::Random::Seed version 0.03 |
| 2 |
======================== |
| 3 |
|
| 4 |
Crypt::Random::Seed provides a simple interface to get the strongest source |
| 5 |
of randomness on the current platform, typically for use in seeding a CSPRNG |
| 6 |
such as Math::Random::ISAAC. It can also be restricted to non-blocking |
| 7 |
sources, and has a very simple plug-in method. |
| 8 |
|
| 9 |
The following sources are tried, in order: |
| 10 |
Win32 Crypto API |
| 11 |
EGD |
| 12 |
/dev/random |
| 13 |
Crypt::Random::TESHA2 |
| 14 |
|
| 15 |
|
| 16 |
INSTALLATION |
| 17 |
|
| 18 |
To install this module type the following: |
| 19 |
|
| 20 |
perl Makefile.PL |
| 21 |
make |
| 22 |
make test |
| 23 |
make install |
| 24 |
|
| 25 |
|
| 26 |
DEPENDENCIES |
| 27 |
|
| 28 |
Win32::API on Windows. |
| 29 |
|
| 30 |
Crypt::Random::TESHA2, only used if /dev/random or Win32 API doesn't work. |
| 31 |
|
| 32 |
|
| 33 |
SEE ALSO |
| 34 |
|
| 35 |
Crypt::URandom provides similar functionality for non-blocking sources. |
| 36 |
|
| 37 |
For more complex setups, Crypt::Random::Source has multiple plugins. |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
COPYRIGHT AND LICENCE |
| 42 |
|
| 43 |
Copyright (C) 2013 by Dana Jacobsen <[email protected]> |
| 44 |
|
| 45 |
This library is free software; you can redistribute it and/or modify |
| 46 |
it under the same terms as Perl itself, either Perl version 5.16.2 or, |
| 47 |
at your option, any later version of Perl 5 you may have available. |