Skip to content

danaj/Crypt-Random-TESHA2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Random numbers using timer/schedule entropy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages