Generates a BCrypt hash