[Development] CSPRNG vs DPRNG

Lars Knoll lars.knoll at qt.io
Fri Oct 13 20:15:19 CEST 2017


> On 13 Oct 2017, at 16:12, Thiago Macieira <thiago.macieira at intel.com> wrote:
> 
> On Friday, 13 October 2017 01:30:57 PDT Lars Knoll wrote:
>> This sounds like a decent option to me. I'm don't quite like system() and
>> global() as names yet, as they don't really make it clear that one of them
>> is deterministic. Other than that this looks like a good way forward.
> 
> Well, one of them is deterministic, but only if you know the seed which comes 
> from the non-deterministic one. So it's highly unlikely that you'll be able to 
> determine its sequence.

Of course, but they have different characteristics that the names above don't really reflect. From looking at the names, I doubt most people would guess that one of them can block, while the other doesn't.

Cheers,
Lars





More information about the Development mailing list