dannyelo
dannyelo4mo ago

Encrypt organizations secrets

I'm using an external API, where I'm going to create a 1:1 relationship between the organizations in my database and the organizations created in the API. For each request in the external API, I need a secret key per organization for making requests. I need to store in my database the secret key for each organization, but I need to encrypt it. I was thinking of using Cryptr (npm), but reading the Convex documentation, I see that not all npm packages are accepted by convex. Any recommendations would be greatly appreciated.
4 Replies
jamwt
jamwt4mo ago
you can use standard webcrypto apis
jamwt
jamwt4mo ago
jamwt
jamwt4mo ago
like AES
dannyelo
dannyeloOP4mo ago
I'll take a look at that, thank you @jamwt!

Did you find this page helpful?