What are Salt Rounds and how are Salts stored in Bcrypt?

I am trying to configure Bcrypt for the node application that I am creating and I have a few questions about salts, which I hope someone here can help to kindly answer.

  • What is salt? For example, in github docs ( https://github.com/kelektiv/node.bcrypt.js/ ) it uses salt round 10. What does that mean?

  • Is the salt generated by Bcrypt always the same? For example, if I save user hashed passwords in the database, is it salt that she used the same password for the hash for each password?

  • How is salt stored? Is it safe from potential attacks?

+4
source share
1 answer
  • "salt round" . , BCrypt. , . 1 . , .
  • , .
  • - . , -, . . .
+1

Source: https://habr.com/ru/post/1687322/


All Articles