alextana
alextana
Explore posts from servers
TTCTheo's Typesafe Cult
Created by alextana on 3/24/2025 in #questions
user data encryption
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)
11 replies
TTCTheo's Typesafe Cult
Created by alextana on 3/1/2023 in #questions
Unknown-ish types
I am building a simple drag and drop library, nothing fancy - I've got to a point where the first prototype works, my issue now is that I have a Vue composable (all you need to know if you're not familiar is that it's basically like a hook, a function that takes some parameters), the user using the library would send up an array of lists that will have drag and drop capabilities. Now, the list will just be an Array of Arrays of objects but I don't know what's going to be inside of those objects, all I know is they will definitely need to have an id, how do I go about assigning types to the singular object ?
30 replies
TTCTheo's Typesafe Cult
Created by alextana on 10/25/2022 in #questions
Securirty issue next auth
2 replies