Password hashing
athul jain

athul jain @athuljain

About: MERN STACK DEVELOPER HTML | CSS | JS | NODEJS | EXPRESS JS | REACT | REDUX JS | MONGODB

Joined:
Aug 14, 2023

Password hashing

Publish Date: Dec 8 '23
2 3

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

Comments 3 total

  • Priya Bapodra
    Priya Bapodra Dec 8, 2023

    Is this a concept about converting plain text to cypher text. That means converting normal text to non readable text, which means you have to need technique to get original text?

    • rutvikjani
      rutvikjaniDec 8, 2023

      No, in node.js we have module called "bcrypt.js". It is mainly for saving normal password to hash password into database to secure our data. Now if you want to use it to hash any plain text then it is upto you.

Add comment