Format of the bcrypt password hash in ownCloud 10.0.9

Hi,

I am looking at the default password hashes in the oc_users table in ownCLoud 10.0.9 and it looks like bcrypt hashing is used.

But I realize the hash is prefixed with a “1|”.
Why is that?

Can there be any other prefixes? I have an external application, that checks the ownCloud passwords, so I would like to know if there is a nother format.

Thanks a lot
Cornelius

I don’t think the hasher version will change any time soon.

2 Likes

Thanks a lot for the link!
I was searching in the source code but was not able to find this.