def _bcrypt_verify(hmac_value, bcrypt_value):
    return bcrypt.hashpw(hmac_value, bcrypt_value) == bcrypt_value
Verify an hmac hash against a bcrypt value.
dataset/ETHPy150Open fwenzel/django-sha2/django_sha2/bcrypt_auth.py/_bcrypt_verify