Think about email confirmation codes
or reset password codes
, ideally, you’ll generate a random code that is n
characters long, currently, I can only do this in NodeJS because I don’t see a function in FQL that will allow me to do something like what bcrypt - npm allows me to do (hash and verify), and also generate an n
-character long random code.
Is there any way to achieve this in faunadb, I’m wanting to go full-faunadb mode rather than having a mixed of rest API endpoints for some things and then faundb graphql for the others.