File: README

package info (click to toggle)
libdata-entropy-perl 0.004-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 228 kB
  • ctags: 80
  • sloc: perl: 891; makefile: 89
file content (49 lines) | stat: -rw-r--r-- 1,712 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
NAME

Data::Entropy - entropy (randomness) management

DESCRIPTION

This distribution includes modules relating to sources and use of entropy.
They all interoperate, but can also be used independently.

The Data::Entropy module maintains a concept of a current selection
of entropy source.  Algorithms that require entropy can use the source
nominated by this module, avoiding the need for entropy source objects
to be explicitly passed around.  This is convenient because usually one
entropy source will be used for an entire program run and so an explicit
entropy source parameter would rarely vary.  There is also a default
entropy source, avoiding the need to explicitly configure a source at all.

The Data::Entropy::Source class manages the entropy coming from a
particular source.  Methods allow entropy to be dispensed in any quantity
required, even fractional bits.  This class acts as a layer over a raw
entropy source, which may be a normal I/O handle or a special-purpose
class.

The Data::Entropy::RawSource::* classes provide fundamental sources
of entropy.  The sources specially supported are an OS-supplied entropy
collector, downloads from servers on the Internet, and cryptographic
fake entropy.

The Data::Entropy::Algorithms module contains a collection of fundamental
algorithms that use entropy.  There are random number generators, and
functions to shuffle arrays and perform related tasks.

INSTALLATION

	perl Makefile.PL
	make
	make test
	make install

AUTHOR

Andrew Main (Zefram) <zefram@fysh.org>

COPYRIGHT

Copyright (C) 2006, 2007 Andrew Main (Zefram) <zefram@fysh.org>

This module is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.