-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encrypt/Decrypt cookies #13
Comments
Why encrypting cookies? HTTPS should be used for that case. |
Sometimes you don't want the client be able to read a cookie value, or you cannot use https, etc. |
Hi, I made a middleware like this, using a custom crypt engine (https://github.com/ncou/CryptEngine) i could share the code if you want, but i need to tidy it a bit (by the way the credits goes to another person because i was inspired by some piece of code i found on internet). |
Thanks, @ncou |
yes you are absolutly right this lib should be more stronger and more actively maintained than mine. |
A middleware to decrypt incoming and encrypt outgoing cookies.
It could use a JWT implementation or php-encription.
Maybe it could provide some security features:
The text was updated successfully, but these errors were encountered: