As per the law, anonymize user identifier before sending it.

def hash_user_id(self, user_id: str) -> str:
        """
        As per the law, anonymize user identifier before sending it.
        """

        h = sha256()
        h.update(user_id.encode())
        return h.hexdigest()