Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Secure random ID generation

From: Skip Carter <skip(at)taygeta.com>
Date: Wed Dec 04 2002 - 13:39:02 EST

>> Not all systems have a /dev/random.  

> secure, portale (ie userland) entropy gathering daemons exist. however,
> most languages have some form of a PRNG. its a lot easier than trying to
> write your own.

  Unfortunately, NO language specifies the algorithm to be used for the PRNG in its libraries.
  For any but the most trivial purposes you should supply an external generator.

  Rolling your own, in the sense of making something up and implementing it is also a bad idea.

  The proper thing to do is to use a library that provides, or implement, a standard algorithm that
  has been tested thouroughly and reviewed to be appropriate for your application. Also there is
  no universally appropriate PRNG, different applications have different demands.

  (see: http://www.taygeta.com/random/example.html for an example of things going wrong with an

   unsuitable PRNG in stochastic calculus).

-- 
 Dr. Everett (Skip) Carter      Phone: 831-641-0645 FAX:  831-641-0647
 Taygeta Scientific Inc.        INTERNET: skip@taygeta.com
 1340 Munras Ave., Suite 314    WWW: 
http://www.taygeta.com
 Monterey, CA. 93940            
Received on Wed Dec 4 14:00:22 2002
Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:44 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library