Restore compability with Python 2.7 < 2.7.7
the hmac.compare_digest method is not available before Python 2.7.7
this restores a simple a==b if it is not available
the hmac.compare_digest method is not available before Python 2.7.7
this restores a simple a==b if it is not available