import getpass, crypt print(crypt.crypt(getpass.getpass(), crypt.mksalt(method=crypt.METHOD_SHA256)))