3 ms·
And that is, in fact, how you should perform a hash before bcrypt as well. bcrypt accepts text input, not binary. So if you use a pre-hash, you pass the hex o
by jlokier 5y ago
And that is, in fact, how you should perform a hash before bcrypt as well.
bcrypt accepts text input, not binary.
So if you use a pre-hash, you pass the hex or base64 output from the hash to bcrypt.