How to decrypt hash stored by bcrypt
You’re HASHING, not ENCRYPTING! What’s the difference? The difference is that hashing is a one way function, where encryption is a two-way function. So, how do you ascertain that the password is right? Therefore, when a user submits a password, you don’t decrypt your stored hash, instead you perform the same bcrypt operation on the … Read more