News for hackers. Stuff that matters.
Re:Three things to never build yourself: auth, notifications... by jlokier on Thursday May 13, 2021 @08:11PM (#27149119)
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.

There are no comments on this comment yet.