|
From: | Lyndon Nerenberg |
Subject: | Re: [Nmh-workers] Message-IDs and Content-IDs |
Date: | Thu, 19 Jul 2012 10:48:12 -0700 (PDT) |
User-agent: | Alpine 1.10 (OSX 962 2008-03-14) |
Would /dev/urandom suffice?
Sure. But for portability's sake, the code should read 4 bytes from /dev/random to seed srand() (fallback to (time XOR pid) or something similar if /dev/random can't be opened), then call rand() to supply however many bytes you want to use.
[Prev in Thread] | Current Thread | [Next in Thread] |