summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Glagolev2015-09-20 10:15:10 +0300
committerVlad Glagolev2015-09-20 10:15:10 +0300
commit42450ffbca547cb0e98e960f8f8020cfffa5fb70 (patch)
tree7c721cf0953ca65e59c74076049a6a6bafcf68e6
parentb9f17dec76ffeb7ebc3700c91881b18381f8cdbc (diff)
math-random-isaac: new spell, Perl interface to the ISAAC PRNG algorithm
-rw-r--r--ChangeLog4
-rwxr-xr-xperl-cpan/math-random-isaac/DEPENDS2
-rwxr-xr-xperl-cpan/math-random-isaac/DETAILS29
-rw-r--r--perl-cpan/math-random-isaac/HISTORY2
4 files changed, 37 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 17268ccf5a..6683f5efc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-09-20 Vlad Glagolev <stealth@sourcemage.org>
+ * perl-cpan/math-random-isaac: new spell, Perl interface to the ISAAC
+ PRNG algorithm
+
2015-05-06 Vlad Glagolev <stealth@sourcemage.org>
* perl-cpan/weakref: spell deprecated, it's a part of perl now
* perl-cpan/mail-internet: spell deprecated, it's a part of mailtools
diff --git a/perl-cpan/math-random-isaac/DEPENDS b/perl-cpan/math-random-isaac/DEPENDS
new file mode 100755
index 0000000000..d542348fa9
--- /dev/null
+++ b/perl-cpan/math-random-isaac/DEPENDS
@@ -0,0 +1,2 @@
+depends perl &&
+depends test-nowarnings
diff --git a/perl-cpan/math-random-isaac/DETAILS b/perl-cpan/math-random-isaac/DETAILS
new file mode 100755
index 0000000000..23ec4b1c75
--- /dev/null
+++ b/perl-cpan/math-random-isaac/DETAILS
@@ -0,0 +1,29 @@
+ SPELL=math-random-isaac
+ SPELLX=Math-Random-ISAAC
+ VERSION=1.004
+ SOURCE=${SPELLX}-${VERSION}.tar.gz
+ SOURCE_URL[0]=$PERL_CPAN_URL/authors/id/J/JA/JAWNSY/${SOURCE}
+ SOURCE_HASH=sha512:98fdfb28b207b4afe72ab82a2b564b06c5daaac15cdab2ce2ef698b16c0dcf5b23ac28fbebe170d2c6c7239fe6c97f634e5c03a8f2bd0aeb8369d0008b9ae0a2
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-${VERSION}"
+ LICENSE=PD
+ WEB_SITE=http://search.cpan.org/dist/Math-Random-ISAAC/
+ ENTERED=20150920
+ KEYWORDS="perl"
+ SHORT="Perl interface to the ISAAC PRNG algorithm"
+cat << EOF
+As with other Pseudo-Random Number Generator (PRNG) algorithms like the Mersenne
+Twister (see Math::Random::MT), this algorithm is designed to take some seed
+information and produce seemingly random results as output.
+
+However, ISAAC (Indirection, Shift, Accumulate, Add, and Count) has different
+goals than these commonly used algorithms. In particular, it's really fast - on
+average, it requires only 18.75 machine cycles to generate a 32-bit value.
+This makes it suitable for applications where a significant amount of random
+data needs to be produced quickly, such solving using the Monte Carlo method or
+for games.
+
+The results are uniformly distributed, unbiased, and unpredictable unless you
+know the seed. The algorithm was published by Bob Jenkins in the late 90s and
+despite the best efforts of many security researchers, no feasible attacks have
+been found to date.
+EOF
diff --git a/perl-cpan/math-random-isaac/HISTORY b/perl-cpan/math-random-isaac/HISTORY
new file mode 100644
index 0000000000..817a283fae
--- /dev/null
+++ b/perl-cpan/math-random-isaac/HISTORY
@@ -0,0 +1,2 @@
+2015-09-20 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS, DEPENDS: created spell, version 1.004