not sam
not sam
TTCTheo's Typesafe Cult
Created by not sam on 12/23/2023 in #questions
Password hashing on Edge
Normally if we are using supabase or firebase, it handles all the auth for us, but if we are implementing our own, then how do we hash the password on edge? Most algorithms such as bcrypt, argon2 or scrypt requires some sort of node-specific api (when using the js library) and some such as fs or path is not exposed on vercel. Or Is it better to use passwordless auth?
4 replies