Daily Shaarli

All links of one day in a single page.

August 7, 2024

Security Tip: Compare keys with hash_equals()
thumbnail

[Tip#56] It may be tempting to compare keys/sensitive strings using ===, or even ==, but that opens you up to timing attacks! You should be using a timing attack safe string comparison function...