User: Password:
|
|
Subscribe / Log in / New account

The dangers of weak random numbers

The dangers of weak random numbers

Posted Feb 22, 2008 2:19 UTC (Fri) by jschrod (subscriber, #1646)
In reply to: The dangers of weak random numbers by kirkengaard
Parent article: The dangers of weak random numbers

This also depends on the purpose of your RNG usage.

Just this week, for example, I needed one to select a pseudo-random set of documents (out of
400,000) to pass them to human reviewers for inspection. For such a task, I don't care at all
if it's cryptographically-strong or not, I simply use libc's rand(). I don't even care that
it's very slow, getting the data for these 400,000 documents out of the database and
generating/formatting them already needed enough time...


(Log in to post comments)


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds