hash_equals()
for Secure String Comparisonhash_equals()
for Secure String ComparisonThe hash_equals()
function performs a timing attack safe string comparison. Use this function to compare cryptographic hashes and other sensitive data securely.