CodeIgniter Forums

Full Version: Should I hash / encrypt user id for when set in session
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to know when I set user id in session when the user  logins in

If it is a good idea to encrypt user id  and then decrypt it in a model

Just for added security.
No, and this has nothing to do with hashing.