Module function reference

constant_time_equals

A reference entry for constant_time_equals

Module function · Cryptography

constant_time_equals (string first, string second) ⇒ boolean

Compares two strings in constant time to reduce timing-leak risks when checking secrets.