honojs / hono

Web framework built on Web Standards
https://hono.dev
MIT License
18.52k stars 522 forks source link

Addition of Hashing lib #3350

Open pantharshit007 opened 2 weeks ago

pantharshit007 commented 2 weeks ago

What is the feature you are proposing?

You know how we have bcrypt in the node/express environment? I was also searching for a similar alternative here but wasn't able to find one. I tried using argon2, but it only introduced new errors.

So, for now, I have to use createHash function from crypto which also has a vulnerability for which I will create a separate issue: #

but do introduce a hashing library to secure passwords in an edge environment that doesn't eat up time (ms).

MathurAditya724 commented 2 weeks ago

You can use https://www.npmjs.com/package/bcryptjs