Java: Salting and BCrypt Question Why should passwords not be stored in plaintext? (Click to reveal answer) Answer Plaintext passwords are vulnerable to breaches. Storing passwords in plaintext means they can be easily read if a database is compromised. Hackers can access all user accounts without any barriers. Always hash passwords before storing them. In Java, you can use BCrypt to hash passwords securely. Additional NotesWhy should passwords not be stored in plaintext? Track: Java Topic: Authentication Focus: Salting and BCrypt Topics: Authentication Java Salting and BCrypt