4
$\begingroup$

Can anyone show me a simple proof of work algorithm that I can use to stop spammers? I've looked at hashcat, but i think there's a bit too much specialized hardware for bitcoin mining.

That is, the time required to calculate one proof of work on a mobile device cpu is way too long compared to a bitcoin mining rig using asic-miners.

$\endgroup$

1 Answer 1

8
$\begingroup$

Bitcoin ASIC miners are specialized hardware, which is capable of computing SHA-256 only. If you change almost any parameter in the Bitcoin proof-of-work, the existing miners will be useless. For instance, you could just change SHA-256 to SHA-1 or SHA-3.

To be more efficient against spammers equipped with GPU, you might want to employ a hash function that requires a certain amount of memory to compute hash. Scrypt is a reasonable choice with hundreds MBytes of RAM as a parameter, and the ongoing Password Hashing Competition will likely to produce better and faster candidates.

$\endgroup$
2
  • $\begingroup$ There are scrypt-based altcoins, so I wouldn't be surprised if there are some scrypt capable ASICs out there. Of course, they won't have hundreds of MB, so it should still work if you choose good parameters. $\endgroup$
    – otus
    Aug 1, 2014 at 19:51
  • 2
    $\begingroup$ Or rather, they may have hundreds of MB, but not the hundreds of GB needed to parallelize it. $\endgroup$
    – otus
    Aug 1, 2014 at 19:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.