Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (27 sloc) 1.368 kb
Crypt::Random::TESHA2 version 0.02
========================
Crypt::Random::TESHA2 produces "userspace voodoo entropy" for people that
do not have or don't want to use O/S supplied sources. It uses timing
differences between sleeps to generate entropy, which is mixed using SHA256,
then fed to an entropy pool using SHA512 (or SHA256 for systems with no SHA512
support), which collects the mix and sends it out.
You should probably be using Crypt::Random::Seed, which will first look
for good O/S randomness sources with this module as a backup.
If you're having issues with /dev/random blocking, run HAVEGED.
There are similarities between the concepts here and TrueRand 2.1, though
that module did not influence the design or implementation of this. The
version of TrueRand used in Math::TrulyRandom is old and not recommended.
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
This module requires Time::HiRes (core in 5.7.3+) including usleep support,
and Digest::SHA (core in 5.9.3+).
COPYRIGHT AND LICENCE
Copyright (C) 2012-2013 by Dana Jacobsen <dana@acm.org>
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.14.1 or,
at your option, any later version of Perl 5 you may have available.
Jump to Line
Something went wrong with that request. Please try again.