News for hackers. Stuff that matters.
Re:You probably don’t need ReCAPTCHA by beiller on Wednesday June 12, 2019 @02:47AM (#20162330)
Here is an idea I thought of for a captcha. Render your webpage and form and include a hidden "password" field. Use a javascript hashing algorithm to hash the password on the client browser (preferably a very slow one that uses a lot of CPU). When you submit the form check the calculated hash the client did with a pre-calculated hash on the server. If they don't match reject the form. You can pre-generate a list of password/hash combinations to avoid slowing down your servers. Could it work?
Re:You probably don’t need ReCAPTCHA by swish_bob on Wednesday June 12, 2019 @04:06AM (#20162655)
It would certainly help in some cases, and act as a delay in some others. It pretty much wouldn't stop a targeted attack since they quite probably don't really care about how much CPU use each request is using, and you literally have to publish the code to generate the hash, so it makes it pretty easy to reverse engineer.
Re:You probably don’t need ReCAPTCHA by beiller on Wednesday June 12, 2019 @11:58AM (#20166000)
Its not reverse engineer-able. Its basically "proof-of-work" as in all participants know the algorithm, you just make attackers spend CPU time to use your site which would slow them down or cost money.
Re:You probably don’t need ReCAPTCHA by norrius on Wednesday June 12, 2019 @04:02AM (#20162628)
It could work... If you want to set minimal system requirements to visit your website.

It will also annoy users of password managers with auto-filling capabilities. "password" is normally used for actual passwords.

Besides, nothing stops the attacker from replacing your code with a faster implementation.

Re:You probably don’t need ReCAPTCHA by mnw21cam on Wednesday June 12, 2019 @04:36AM (#20162793)
There are password hashing algorithms out there (like bcrypt) that specifically take a long time to compute using the fastest method that we can think of.
Re:You probably don’t need ReCAPTCHA by beiller on Wednesday June 12, 2019 @11:59AM (#20166007)
I shouldn't have named it "password". The idea was all the form fields are hidden and the process is transparent to the user.
Re:You probably don’t need ReCAPTCHA by dillonmckay on Wednesday June 12, 2019 @04:42AM (#20162824)
This sounds similar to the blockchain email spam prevention Hashcash.

https://en.m.wikipedia.org/wiki/Hashcash