Logo

dev-resources.site

for different kinds of informations.

Password hashing

Published at
12/8/2023
Categories
javascript
node
react
developer
Author
athul jain
Categories
4 categories in total
javascript
open
node
open
react
open
developer
open
Password hashing

Password hashing involves transforming a password into alphanumeric characters using specific algorithms. Hashing proves advantageous when malicious actors compromise data. With hashing, the obtained data is in hash format, rendering it unintelligible. Popular algorithms for password hashing encompass bcrypt and SHA.

In this article, the spotlight will be on utilizing bcrypt for password hashing in Node.js. Hereโ€™s an example of hashing plain text:
hash('HeypasswordIsSafe@') = 1b21hb2hb1u2gu3g2fxy1v2ux1v2y3vu12g4u3ggvgu43598sa89da98sd79adshuavusdva9sdguasd

Featured ones: