[nycphp-talk] NEW PHundamentals Question
jon baer
jonbaer at jonbaer.net
Wed Feb 11 00:34:47 EST 2004
should have mentioned this, but the method to generate "priv_key" was:
$priv_key = md5(uniqid(rand(), true));
which i find to be the best secure method ...
- jon
> Any reason to choose one over the other?
>
> Jeff
>
> jon baer wrote:
>
> > the last method was session hashing for the page to create a unique
entry
> > token and then hiding it ...
> >
> > <input type="hidden" name="priv_key" value="32-bit/md5">
More information about the talk
mailing list