3 ms·
My point is that, if someone is going to guess the N bit identifier, they can also easily guess the signature.
by StavrosK 10y ago
My point is that, if someone is going to guess the N bit identifier, they can also easily guess the signature.
- dpark 10y agoDepends entirely on how well you generate your IDs. Yes, if you generate cryptographically strong IDs of sufficient length, then you don't need to sign. Signing avoids the need to generate secure IDs, though, and can also avoid hitting to the DB for expired tokens. (Load from expired tokens is probably not a major concern, though.)