Re:Typing The Letters A-E-S Into Your Code? You’re Doing It ...
by djahng on Thursday June 04, 2009 @01:56AM
(#641015)
So, in the context of the SSO cookie, could tampering with the encrypted data be prevented by signing the ciphertext (please excuse the terminology if it's not correct)? What I mean by that is, encrypt the cookie's plaintext (e.g. "user=username, role=admin, etc."), and then sign it, so the value stored in cookie is something like <ciphertext>:<signature>?
[ Parent
| on HN ]