It's easy to implement this function (in the native language of your Python implemenation), it's short. I'm not sure that a Python version is really safe.
The secrets module is for Python 3.6, in this version the hmac already "requires" the compare_digest() function no? Victor
_______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com