[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#28028] [PATCH 9/9] gnu: Add perl-math-random-secure.
From: |
Ricardo Wurmus |
Subject: |
[bug#28028] [PATCH 9/9] gnu: Add perl-math-random-secure. |
Date: |
Wed, 9 Aug 2017 19:00:37 +0200 |
* gnu/packages/perl.scm (perl-math-random-secure): New variable.
---
gnu/packages/perl.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index aca321c77..703390ea3 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -4154,6 +4154,45 @@ This package provides implements the same interface as
@code{Math::Random::ISAAC}.")
(license public-domain)))
+(define-public perl-math-random-secure
+ (package
+ (name "perl-math-random-secure")
+ (version "0.080001")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/F/FR/FREW/"
+ "Math-Random-Secure-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0dgbf4ncll4kmgkyb9fsaxn0vf2smc9dmwqzgh3259zc2zla995z"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-list-moreutils" ,perl-list-moreutils)
+ ("perl-test-leaktrace" ,perl-test-leaktrace)
+ ("perl-test-sharedfork" ,perl-test-sharedfork)
+ ("perl-test-warn" ,perl-test-warn)))
+ (inputs
+ `(("perl-crypt-random-source" ,perl-crypt-random-source)
+ ("perl-math-random-isaac" ,perl-math-random-isaac)
+ ("perl-math-random-isaac-xs" ,perl-math-random-isaac-xs)
+ ("perl-moo" ,perl-moo)))
+ (home-page "http://search.cpan.org/dist/Math-Random-Secure")
+ (synopsis "Cryptographically secure replacement for rand()")
+ (description "This module is intended to provide a
+cryptographically-secure replacement for Perl's built-in @code{rand} function.
+\"Crytographically secure\", in this case, means:
+
address@hidden
address@hidden No matter how many numbers you see generated by the random number
+generator, you cannot guess the future numbers, and you cannot guess the seed.
address@hidden There are so many possible seeds that it would take decades,
centuries,
+or millenia for an attacker to try them all.
address@hidden The seed comes from a source that generates relatively strong
random
+data on your platform, so the seed itself will be as random as possible.
address@hidden enumerate\n")
+ (license artistic2.0)))
+
(define-public perl-memoize-expirelru
(package
(name "perl-memoize-expirelru")
--
2.13.2
- [bug#28028] [PATCH 4/9] gnu: Add perl-type-tie., (continued)
- [bug#28028] [PATCH 4/9] gnu: Add perl-type-tie., Ricardo Wurmus, 2017/08/09
- [bug#28028] [PATCH 5/9] gnu: Add perl-regexp-util., Ricardo Wurmus, 2017/08/09
- [bug#28028] [PATCH 6/9] gnu: Add perl-ref-util-xs., Ricardo Wurmus, 2017/08/09
- [bug#28028] [PATCH 8/9] gnu: Add perl-crypt-random-source., Ricardo Wurmus, 2017/08/09
- [bug#28028] [PATCH 7/9] gnu: Add perl-type-tiny., Ricardo Wurmus, 2017/08/09
- [bug#28028] [PATCH 9/9] gnu: Add perl-math-random-secure.,
Ricardo Wurmus <=
- [bug#28028] [PATCH 1/9] gnu: Add perl-hash-fieldhash., Danny Milosavljevic, 2017/08/12
- [bug#28028] [PATCH 0/9] Perl crypto things, Marius Bakke, 2017/08/09