how do people usually do user data encryption? I would like to basically encrypt (or hash) everything users save in the database, is saving a decryption key in environment vars on vercel/netlify etc. good enough? Or are there other ways that might be more suitable?
(this is data I need to decrypt in the front-end, not passwords or anything like that, just user generated content, think like notion notes)