3 ms·
How do you know that the response really is the smallest such integer, rather than a precomputed one (e.g. the largest int with a hash beginning "0000")?
by tomstuart 15y ago
How do you know that the response really is the smallest such integer, rather than a precomputed one (e.g. the largest int with a hash beginning "0000")?
- JoachimSchipper 15y agoYou don't (have to) care about "the smallest", just "any integer with a hash beginning with 0000".
- tomgallard 15y agoBut once the spamming machine has worked that out once, they can submit the same integer every time. It would be better if the server sent a request saying send me an integer which has a hash beginning with npqr where n, p q and r are all random characters.