TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Preventing Timing Attacks on String Comparison with Double HMAC Strategy (2015)

35 pointsby rdpintqogeogsaaover 3 years ago

3 comments

ianopolousover 3 years ago
Neat idea! Especially on jitted platforms where the jit is likely to introduce a timing side channel.
rurbanover 3 years ago
Using the timingsafe_memcmp C function would be faster and safer.
评论 #29316262 未加载
评论 #29299496 未加载
dorianmariefrover 3 years ago
so hash(input) == hash(secret) ?
评论 #29298748 未加载