def verify(self, clearvalue, hashed_value):
        return constant_time_compare(
            self._b64encode(self._encrypt(clearvalue, hashed_value)),
            hashed_value
        )
Verify a password against a hashed value.
dataset/ETHPy150Open tonioo/modoboa/modoboa/core/password_hashers/base.py/PasswordHasher.verify