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.

Show HN: Active Hashcash – Ruby gem to protect forms against bots

3 pointsby antoinemalmost 3 years ago

2 comments

cyclotron3kalmost 3 years ago
So, because the nonce is created client-side, the client can just pre-compute as many valid hashes as they need.<p>Also, it&#x27;s non-deterministic right? So you could potentially have someone waiting years for the hash to be solved?<p>Looks like you&#x27;re essentially trying to rate-limit submissions. I think a signed timestamp would achieve this without wasting any cpu cycles, and wouldn&#x27;t require any javascript.
itakealmost 3 years ago
This also protects against users that have mobile phones and older systems.<p>Also, the hashes are valid for 24 hours. Bots only need to pay the cost once per day.