cisco / node-jose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to implement simple JWE for session-cookies ?

chkp-michaelo opened this issue · 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