Settings

Theme

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

github.com

3 points by antoinem 3 years ago · 2 comments

Reader

cyclotron3k 3 years ago

So, because the nonce is created client-side, the client can just pre-compute as many valid hashes as they need.

Also, it's non-deterministic right? So you could potentially have someone waiting years for the hash to be solved?

Looks like you're essentially trying to rate-limit submissions. I think a signed timestamp would achieve this without wasting any cpu cycles, and wouldn't require any javascript.

itake 3 years ago

This also protects against users that have mobile phones and older systems.

Also, the hashes are valid for 24 hours. Bots only need to pay the cost once per day.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection