4Kas
Can I store a salted hash (sha256) of an email in a user’s cookies? [migrated]
I am working on a web app and need to have access to a user's salted hash email in middle-ware. The simplest way to do this, for me, would be a cookie. Since this is a salted sha256 hash, even if the cookie was stolen the hacker could not make out the actual email by comparison. Does this make it safe to implement such a system?