Generate bcrypt password hashes with configurable cost factor. Verify passwords against existing bcrypt hashes.