[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] generating random numbers



On Thu, 10 Aug 2000, Nathan Simons wrote:
> 	You could used get_random_bytes().  See linux/random.h for the
> prototype.

I already try it. But when I insmod random.o, I get this message :
``couldn't find the kernel version the module was compiled for''.

Actually, it is a very good random number generator, but what I need is
just a simple algorithm. I can't get to world wide web right now 
(the 3rd world internet infrastructure suck :(, connection is too slow
and only paying students are given access), 
so please someone send one algorithm that I can use ?
I will highly appreciate it.

(It's summer vacation, so my friends who once taking simulation and
modeling class is not here :()

TIA,
-dewa-