import bcrypt pwd = b'admin123' print(bcrypt.hashpw(pwd, bcrypt.gensalt(rounds=10)).decode())