What is the main reason for hashing passwords before storing them in a database?

  • To make passwords case-insensitive
  • To save storage space
  • To improve password visibility
  • To enhance security
Hashing passwords before storing them in a database enhances security. It ensures that the original password is not stored, making it much more difficult for attackers to retrieve user passwords in case of a breach.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *