'p' wrote:
> Given that you do this:
> self._secretToken= sha.new(str(time.time())).hexdigest()

Hi,

if you really do this in Turbogears, then it is possible to reproduce
the hash if you approximately know the time when it was generated...
Wouldn't it be possible to use some kind of more random function for
that ?

I know that php has a function 'uniqueid' for this purpose, but I
haven't hanged around in python enough to know anything equivalent...

Evan

Reply via email to