2 ms·
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 inc
by bradleyjg 11y ago
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.