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.<div><br></div><div>The secrets module is for Python 3.6, in this version the hmac already "requires" the compare_digest() function no?<br><div><br></div><div>Victor</div></div>