node-jose
node-jose copied to clipboard
How to implement simple JWE for session-cookies ?
I'm using JWT signed with a uuid-v4 secret for session-cookies. I need to also encrypt the content of the cookie to hide sensitive json data. What's the simplest, best-practice way to achieve this with JWE ? can I re-use the same uuid-v4 for JWE encryption ?
Thanks