Interesting read.

> -----Original Message-----
> From: Tom Harwood [mailto:tharwood@;macromedia.com]
> Sent: Friday, November 08, 2002 2:46 PM
> To: CF-Talk
> Subject: GUID generation in CFMX/Java in general
> 
> Hello Mark,
> 
> CFMX does, in fact, use a JNI library to get the MAC address of the
first
> network adapter for use in the GUID.  If this call (or the loadLibrary
> method) fails for any reason, we use a SecureRandom (cryptographically
> strong random number generator) to generate random numbers in place of
the
> MAC address.
> 
> The principles for forming a GUID are spelled out in
> http://www.opengroup.org/dce/info/draft-leach-uuids-guids-01.txt
> <http://www.opengroup.org/dce/info/draft-leach-uuids-guids-01.txt>  --
the
> MAC address, plus a unique local time, give the GUID properties of
> uniqueness of time and space within the universe of discourse.  When a
> random component substitutes for the nominally unique MAC address, the
> GUID should have an additional bit set to avoid conflicting with a
GUID
> from a known MAC address.
> 
> Getting the MAC address does require different system calls on
different
> systems, but the 'NIX platforms are all quite similar, and nice in
that
> there is a system call that returns the MAC addy as a long.  Win32 is
> slightly more complex, but there is some sample code included in
Visual
> C++ that does the job.
> 
> Hope this helps, and best regards,
> 
> --
> Tom Harwood
> Macromedia Server Products
> CFML Language Development
> 
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm


Reply via email to