Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
hash_equals
hash_equals
String comparison that prevents timing attacks
Name:
hash_equals
Category:
Hash
Programming Language:
php
One-line Description:
String comparison that prevents timing attacks
Related
Why does hash_equals require the two hash values being compared to have the same length? What is the security reason behind it?
7
Similar Functions
hash_hmac_file
hash_hmac_file
Generateahashvaluewi
hash_file
hash_file
Generatehashvalues
hash_copy
hash_copy
Copyhashingcontext
hash_init
hash_init
Initializetheincreme
hash_equals
hash_equals
Stringcomparisonthat
hash_hmac
hash_hmac
UsetheHMACmethodtoge
hash_hmac_algos
hash_hmac_algos
Returnsalistofregist
hash_final
hash_final
Endincrementhashandr
Popular Articles
Why does hash_equals require the two hash values being compared to have the same length? What is the security reason behind it?