def METHOD_NAME(self, cleartext_password: typing.Optional[str]) -> None:
    """
    Set ciphertext password from cleartext password.
    Hash cleartext password on the fly,
    Store its ciphertext version,
    """
    if cleartext_password is None:
        self._password = None
    else:
        self._password = self._hash(cleartext_password)