from passlib.hash import bcrypt def get_password_hash(password): hashed_password = bcrypt.hash(password) return hashed_password