What does the hash function of bcrypt do?
It creates an encoded string that can be decoded with the same secret key.
It encrypts a string with a one-way algorithm, in an almost indecryptable way.
It encrypts a string with a simple two-way algorithm.