Hi On Sat, Jul 28, 2007 at 05:43:03PM +0300, Kostya wrote:
On Sat, Jul 28, 2007 at 02:16:23PM +0200, Michael Niedermayer wrote:
Hi [...]
... as i said getting a good and secure random number is not easy, you cannot use anything that could be usefull for an expoit or anything that could by used to identify time or place where encoding happened, not the current time, no pointers, ... you are left with the video/audio you are going to encode, and some stuff we cant easily use like the least significant bits of the time of some interrupts
What about this? http://en.wikipedia.org/wiki/UUID
which version of UUIDs? you have 3 choices 1/2 contains the MAC address (this is the most stupid idea so far not to mention the issue of how to find the MAC address in a portable way) 3/5 are just a md5/sha1 of a string AFAIK which was already suggested 4 is just a random number (with which we are back to square 1 just that we now can call it UUID) what about this? /dev/zero [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can be no freedom; when there is freedom there will be no State. -- Vladimir Lenin