I have a number, x, and want to get a value from it, y.

So, f(x) = y

y must be random

x must not be able to be derived from y (ie: the inverse of x can not be a function)

I thought I found the solution with:

but that changes whenever you move servers, I don't know why.PHP Code:

`srand($x);`

$y = rand();

I don't want to use mcrypt.

Anyway, I really need to know how to do this. If anyone can get me the answer before 10:00 tonight (wouln't do me much good after that :'( ) I'll give them 20 turtle dollars!

Thanks!