in reply to Re^5: Is this a secure way to prevent cookie tampering
in thread Is this a secure way to prevent cookie tampering

I hope you mean sequential as in a sequence with hard to predict next values. It's better off to take noise from /dev/urandom or something like taht. Pregenerate the primary keys or something. But don't use a predictible sequence. Otherwise, guessing what someone else's session key is easy. Even if you are encrypting, if the encryption is broken, a random next number is harder to guess.

Bart: God, Schmod. I want my monkey-man.

  • Comment on Re^6: Is this a secure way to prevent cookie tampering