samedi 27 mai 2023

NodeJS: How do I generate a random hex key for password reset?

I am developing a express js end point and I need to send some random hex-decimal code

I am trying to generate a random hex key for a reset password process in nodejs. Can anyone help? Is there any library? Or shell I use some standard code
Shell I also sign the code like with jwt?




Aucun commentaire:

Enregistrer un commentaire