Hi,
I am curious about how spring security works at the back when we use bcrypt encoder. Suppose we have a bcrypt password stored in the table and if we try to login with the correct password it authenticates us. According to this
site, every time we encode the same variable, the resulting
string changes. Since bcrypt is hashing, we cannot decrypt it. So how does spring compare the password we enter and the password in the table?