TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

3 点作者 antoinem将近 3 年前

2 条评论

cyclotron3k将近 3 年前
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.
itake将近 3 年前
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.