Re: [PATCH] using arc4random for strong randomness matters. - Mailing list pgsql-hackers

From David CARLIER
Subject Re: [PATCH] using arc4random for strong randomness matters.
Date
Msg-id CA+XhMqyPBACwnVGsHH3J5wTzGzYR+SGKuc4TryizPmC8H=jmbw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] using arc4random for strong randomness matters.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] using arc4random for strong randomness matters.  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Basically the call never fails, always generating high quality random data (especially the implementations based on Chacha* family, RC4 has predictability issues), there is no need of a file descriptor.

On 22 November 2017 at 16:06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
David CARLIER <devnexen@gmail.com> writes:
> I m not against as such that depends of the implementation but I ve seen in
> quick glance it s RC4 ?

More generally, why should we bother with an additional implementation?
Is this better than /dev/urandom, and if so why?

                        regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] using arc4random for strong randomness matters.
Next
From: Andres Freund
Date:
Subject: Re: [PATCH] using arc4random for strong randomness matters.