[JDEV] Still another patch ... (seed the rand() function)

Matthias Wimmer m at tthias.net
Tue Oct 14 04:45:52 CDT 2003


Hi Joe!

Joe Hildebrand schrieb am 2003-10-13 17:36:37:
> You just want it to be difficult for the attacker to predict when the same
> id is going to come around again.  If they are *really* unique, this will
> never be a problem.

To get them really unique one could just use a timestamp and concatenate
a serial number within that timestamp. This will require 136 years to
get the same challenge again (for 32 bit timestamps).

Would you feel better with these challenges?


Tot kijk
    Matthias

-- 
For kibibytes see:
http://www.iec.ch/online_news/etech/arch_2003/etech_0503/focus.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://www.jabber.org/jdev/attachments/20031014/1c02a5eb/attachment-0002.pgp>


More information about the JDev mailing list