Very interesting ! I didn't know that... my information is slightly obsolete.

Many thanks

Jacques

Le 12 nov. 2008 à 03:34, Mark Smith a écrit :

Interestingly, on OS X and Linux, you can read from "/dev/random" and get crypto-quality random numbers:

     put "/dev/random" into tFile
     open file tFile for binary read
     read from file tFile for 1000 uint4
     put it into tRandNums
     close file tFile

will get you a comma delimited list of 1000 numbers bewteen 0 and 2 ^ 32.

I can't find anything similar on Windows, but maybe one of Ken's crafty VB scripts can get at the relevant OS API call "CryptGenRandom".

http://en.wikipedia.org/wiki/Urandom

Best,

Mark
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:        ++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: [EMAIL PROTECTED]
*******************************************

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to