It should be adequate to use a quality PseudoRandom Number Generator (PRNG)
to spit out 128 bits of data.  Seed the PRNG with something that likely to
be unique on a given device; throw as many things into the seed as are
available.  Maybe (just tossing out an idea) build a checksum of the bytes
in the hotsync name, the current data and time, the bytes in the FlashID (if
available), the first 16 bytes of the last record in every database on the
device, and maybe a few other things.  Use that as the seed for the PRNG.
Then create a checksum of the last 16 bytes of each record in every database
(and maybe some other bytes, youget the idea).  Use this number as the count
of bits from the PRNG to throw away.  Run the PRNG past these throwaway bits
then use the next 128 bits that it supplies for the GUID.



>I'd be curious to algorithms for this as well...I'm building them, but only
>by generating a date stamp and a random digits for the rest.  I'd like to
>use the palm unique id as part of it, but I'm still not certain which palms
>have this id and which ones don't.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to