Optimize bcrypt64 functions