• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

examples/H11-Jan-2013-17390

lib/Crypt/Random/H11-Jan-2013-453109

t/H11-Jan-2013-393286

.travis.ymlH A D10-Jan-2013303 1915

ChangesH A D11-Jan-2013225 95

LICENSEH A D08-Jan-201317.9 KiB380292

MANIFESTH A D11-Jan-2013550 2524

META.jsonH A D11-Jan-20131.2 KiB5352

META.ymlH A D11-Jan-2013742 3130

Makefile.PLH A D11-Jan-20134.8 KiB149125

READMEH A D11-Jan-20131.5 KiB4731

TODOH A D10-Jan-201327 21

README

1Crypt::Random::TESHA2 version 0.01
2========================
3
4Crypt::Random::TESHA2 produces "userspace voodoo entropy" for people that
5do not have or don't want to use O/S supplied sources.  It uses timing
6differences between sleeps to generate entropy, which is mixed using SHA256,
7then fed to an entropy pool using SHA512 (or SHA256 for systems with no SHA512
8support), which collects the mix and sends it out.
9
10If you want strong cryptography, use /dev/random.
11If you're having issues with /dev/random blocking, run HAVEGED.
12On Win32, use CryptGenRandom.
13
14If, however, you want something in userspace to seed a CSPRNG like
15Math::Random::ISAAC, then this could work for you.  If your system
16doesn't have /dev/random and you've verified this module works on
17your system, then this could be the answer.
18
19There are similarities between the concepts here and TrueRand 2.1, though
20that module did not influence the design or implementation of this.  The
21version of TrueRand used in Math::TrulyRandom is old.
22
23
24INSTALLATION
25
26To install this module type the following:
27
28   perl Makefile.PL
29   make
30   make test
31   make install
32
33
34DEPENDENCIES
35
36This module requires Time::HiRes (core in 5.7.3+) including usleep support,
37and Digest::SHA (core in 5.9.3+).
38
39
40COPYRIGHT AND LICENCE
41
42Copyright (C) 2012-2013 by Dana Jacobsen <dana@acm.org>
43
44This library is free software; you can redistribute it and/or modify
45it under the same terms as Perl itself, either Perl version 5.14.1 or,
46at your option, any later version of Perl 5 you may have available.
47