node-jose icon indicating copy to clipboard operation
node-jose copied to clipboard

How to implement simple JWE for session-cookies ?

Open chkp-michaelo opened this issue 3 years ago • 0 comments

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

chkp-michaelo avatar Jun 16 '22 11:06 chkp-michaelo