summaryrefslogtreecommitdiff
path: root/security/p5-BSD-arc4random/DESCR
diff options
context:
space:
mode:
authorbsiegert <bsiegert>2012-06-02 14:29:42 +0000
committerbsiegert <bsiegert>2012-06-02 14:29:42 +0000
commitb1017a93910f70b151e459f63751e712ec171b35 (patch)
treeddc26738b4492660f26989e54a24108d04486d41 /security/p5-BSD-arc4random/DESCR
parent6cf45aab2a69b6ff89ad16ab5541dd7fdb992ee0 (diff)
downloadpkgsrc-b1017a93910f70b151e459f63751e712ec171b35.tar.gz
Import BSD::arc4random from wip. From DESCR:
This module provides a Perl API for the BSDs' arc4random(3) suite of functions and adds a few high-level functions, such as the new arc4random_uniform(3). The Perl functions are ithreads-safe (only if threads::shared is required). Scalars can be tied to this pak- kage, yielding uniformly distributed random numbers with an arbi- trary upper bound on read access, contributing to the RC4 entropy pool on write access. An exported global $RANDOM variable returns 15-bit unsigned random numbers, from [0; 32767], similar to mksh. Furthermore, Perl's internal PRNG is seeded with entropy obtained from the arc4random generator once on module load time.
Diffstat (limited to 'security/p5-BSD-arc4random/DESCR')
-rw-r--r--security/p5-BSD-arc4random/DESCR10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/p5-BSD-arc4random/DESCR b/security/p5-BSD-arc4random/DESCR
new file mode 100644
index 00000000000..a20201f3056
--- /dev/null
+++ b/security/p5-BSD-arc4random/DESCR
@@ -0,0 +1,10 @@
+This module provides a Perl API for the BSDs' arc4random(3) suite
+of functions and adds a few high-level functions, such as the new
+arc4random_uniform(3). The Perl functions are ithreads-safe (only
+if threads::shared is required). Scalars can be tied to this pak-
+kage, yielding uniformly distributed random numbers with an arbi-
+trary upper bound on read access, contributing to the RC4 entropy
+pool on write access. An exported global $RANDOM variable returns
+15-bit unsigned random numbers, from [0; 32767], similar to mksh.
+Furthermore, Perl's internal PRNG is seeded with entropy obtained
+from the arc4random generator once on module load time.