Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15021 > unrolled thread

Re: $RANDOM not Cryptographically secure pseudorandom number generator

Started byChet Ramey <chet.ramey@case.edu>
First post2018-12-31 14:11 -0500
Last post2018-12-31 14:11 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: $RANDOM not Cryptographically secure pseudorandom number generator Chet Ramey <chet.ramey@case.edu> - 2018-12-31 14:11 -0500

#15021 — Re: $RANDOM not Cryptographically secure pseudorandom number generator

FromChet Ramey <chet.ramey@case.edu>
Date2018-12-31 14:11 -0500
SubjectRe: $RANDOM not Cryptographically secure pseudorandom number generator
Message-ID<mailman.6637.1546283520.1284.bug-bash@gnu.org>
On 12/28/18 4:24 AM, Ole Tange wrote:
> On Sun, Dec 16, 2018 at 6:41 AM Eduardo Bustamante <dualbus@gmail.com> wrote:
> :
>> You know no one is stopping you from submitting a patch to actually
>> fix the documentation right? (or maybe, you know, submitting an actual
>> working patch to change the random generator, not just drop some
>> irrelevant code snippet you got from Wikipedia).
> 
> Patch attached.

Thanks for the patch. I'll take a look after I release bash-5.0. One
question: can you reproduce the same random sequence by using the same
seed? That's for backwards compatibility, even if the sequences themselves
differ.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web