[Insight-developers] portable temporary file name generator function?

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Jul 30 10:28:52 EDT 2009


On Thu, Jul 30, 2009 at 4:20 PM, kent
williams<norman-k-williams at uiowa.edu> wrote:
> I’m sure that would be fine;  the problem is that with respect to provable
> correctness and security there is no perfect way.  I don’t know if GUIDs are
> more or less unique than the concatenation of two 8 random integers. My
> thought with this code was that if you seed the random number generator with
> your process ID, you’ll be using a number sequence that is locally unique.

All implementation of UID generators, I have encountered used the
process id, it is only less obvious to read.

-- 
Mathieu
http://mathieumalaterre.com


More information about the Insight-developers mailing list