Hacker News new | past | comments | ask | show | jobs | submit login

I'm not a python person but it is probably a constant time comparison. If you compare things in such a way that the time it takes to complete increases with increasing prefix match than timing attacks are possible to recover the secret.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: