[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch #6797] shred option to use internal RNG
From: |
Pádraig Brady |
Subject: |
Re: [patch #6797] shred option to use internal RNG |
Date: |
Tue, 7 Apr 2009 14:35:39 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Jim Meyering wrote:
> Thanks for doing that.
> At first glance, you got it all.
> Except maybe the texinfo documentation...
> Yep. There's a mention of shred in the "Random sources" section.
> So now we'd have to say how shred's --random-source works
> and that its default is different from those of shuf and sort...
>
> Have you considered keeping the semantics of --random-source
> the same for all three programs?
I did, but was conservative and only steered the bulk
random generator (shred) away from /dev/urandom by default.
> Things that ease the documentation burden by keeping inter-tool
> differences to a minimum are usually also good from usability
> and maintainability perspectives.
Also for consistency where /dev/urandom is not available.
OK, I'll change it so they're all the same.
In the future as an implementation detail we can seed the generator
with data from /dev/urandom if available, iff the code/time cost
is deemed worthwhile.
cheers,
Pádraig.
p.s. discussions on random number generation tend to
grow into monster threads containing little info.
Fingers crossed this doesn't happen here :)
- [patch #6797] shred option to use internal RNG, (continued)
- [patch #6797] shred option to use internal RNG, James Youngman, 2009/04/05
- Re: [patch #6797] shred option to use internal RNG, Jim Meyering, 2009/04/05
- Re: [patch #6797] shred option to use internal RNG, Pádraig Brady, 2009/04/05
- Re: [patch #6797] shred option to use internal RNG, Pádraig Brady, 2009/04/06
- [PATCH] maint: remove compiler warnings from randint and randread modules, Pádraig Brady, 2009/04/06
- Re: [patch #6797] shred option to use internal RNG, Jim Meyering, 2009/04/07
- Re: [patch #6797] shred option to use internal RNG,
Pádraig Brady <=
- Re: [patch #6797] shred option to use internal RNG, Pádraig Brady, 2009/04/07
- Re: [patch #6797] shred option to use internal RNG, Jim Meyering, 2009/04/07
- Re: [patch #6797] shred option to use internal RNG, Steve Schveighoffer, 2009/04/07