How they crack the hashed passwords?
All of that running on GPU. It's terribly effective. Even more so when 90% of accounts are throwaway/bots/fake accounts.
I'd make a blog post about cracking 99.7% of AdultFriendFinder passwords in 1 hour. But then I realized that it's evil and I shall not.
How else would you verify that the password matches ?
The output of your library's BcryptEncoder.encode(password) includes not only the password hash but information about the algorithm and the salt. That's what you store in your database. That extra information tells the decode function how to decode later on.
See here:
http://stackoverflow.com/questions/6832445/how-can-bcrypt-ha...