[messaging] Bounding hash 2d preimage bits (was Re:...Test Data)

Joseph Bonneau jbonneau at gmail.com
Mon Jul 21 15:26:11 PDT 2014


I On Jul 10, 2014 9:30 AM, "David Leon Gil" <coruus at gmail.com> wrote:

> Does anyone have an estimate of the total cost of "mining" equipment
> in use? (An upper bound for computational effort would then be
> cost-per-hash * NSA's budget + Moore's law.)
>

I agree with the approach here to use Bitcoin as an estimate of the cost of
brute force. We did this exercise in Section 2.1 of the paper here:
http://www.jbonneau.com/doc/BS14-USENIX-towards_memorizing_random_passwords.pdf

Our argument is that you can estimate brute-force costs by looking at the
total amount earned by miners over an extended period (all of 2013 in our
example), based on the USD value at the time the Bitcoins were earned. That
gets you about US$250M in mining rewards in 2013, for about 2^75 hashes for
the year (based on difficulty of each block). That includes hardware (since
most mining hardware has a lifecycle of less than one year), electricity,
cooling, etc.

I just re-ran the test for the first 6 months of 2014 on aggregate and got
and estimate of 2^79.4 hashes computed in a year for US$394.7M. This gives
a baseline estimate of about US$600M to do a 2^80 attack in one year. An
intelligence agency might be an order of magnitude more efficient as a
centralized effort, so perhaps we're really looking at anywhere from US$10M
to $100M 2^80 search in a year. I doubt its dramatically faster than that.

Code for this estimation method is here:
https://github.com/pde/btcpow/blob/master/aggregate.py, you can run over
arbitrary different time windows in Bitcoin history. With a little work
this could also be patched to look at Litecoin data, or another
scrypt-based formula, but there's an unknown coefficient of how much less
efficient the miners are in those currencies since the overall rewards are
much lower.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://moderncrypto.org/mail-archive/messaging/attachments/20140721/d1347227/attachment.html>


More information about the Messaging mailing list