What is the purpose of the `BCrypt` hashing algorithm in Java?
BCrypt is used to encrypt passwords for safe storage in databases.
Thatâ€™s partially correct. While BCrypt is used for hashing, it doesn't encrypt passwords, it hashes them with added complexity.
Can you explain how `BCrypt` differs from traditional encryption algorithms like AES?