<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 28, 2015 at 2:46 PM, Trevor Perrin <span dir="ltr"><<a href="mailto:trevp@trevp.net" target="_blank">trevp@trevp.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Back of envelope:<br>
<br>
The peerio scrypt parameters (N=2^14, r=8) have been estimated to take<br>
< 100 milliseconds on a single core of a 2009 Intel processor [1].<br>
Assuming I can rent cores at ~$0.04/hr [2] = $1/day, that means:<br>
 - about $1 per 2^20 (~1 million) guesses<br>
 - about $1K per 2^30 guesses<br>
 - about $1M per 2^40 guesses<br><br></blockquote><div><br></div><div><div style="font-size:12.8000001907349px">These costs are probably overestimates, since it's way cheaper</div><div style="font-size:12.8000001907349px">to compute scrypt on GPUs.  I'd recommend using the current litecoin </div><div style="font-size:12.8000001907349px">hashing power / exchange rate to get a decent estimate as to how much</div><div style="font-size:12.8000001907349px">an scrypt guess costs.  The litecoin parameters use</div><div style="font-size:12.8000001907349px">N=2^10,r=1,p=1 [1], so let's say computing Peerio keys is ~64x the price.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">But still, trying the math:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">According to <a href="http://bitcoinwisdom.com/" target="_blank">bitcoinwisdom.com</a> [2], the current litecoin value is 1.79481 USD.</div><div style="font-size:12.8000001907349px">With the current difficulty of 41264, that means you can</div><div style="font-size:12.8000001907349px">expect to make $1.823 an hour if you had a GH/s of hashing power.  So therefore, you</div><div style="font-size:12.8000001907349px">can expect to make 1.826/(3600)/10^9 dollars per hash, which is about</div><div style="font-size:12.8000001907349px">5.0 *10^{-13} dollars per scrypt.  That's also a reasonable estimate of how</div><div style="font-size:12.8000001907349px">much an scrypt costs on the open market.   Peerio is 64x harder, meaning</div><div style="font-size:12.8000001907349px">each Peerio guess costs about 3.25*10^{-11} dollars.  So if you wanted to</div><div style="font-size:12.8000001907349px">crack a passphrase with 40 bits of entropy, it would cost about $35.69.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">These estimates aren't entirely fair, since you probably can't use Litecoin ASIC</div><div style="font-size:12.8000001907349px">miners to solve Peerio's scrypt.  But still, the CPU-estimates Trevor gave are likely</div><div style="font-size:12.8000001907349px">off by orders of magnitude.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Sorry in advance for any arithmetic errors.</div><div style="font-size:12.8000001907349px"><br></div></div><div style="font-size:12.8000001907349px">[1] <a href="https://litecoin.info/Block_hashing_algorithm">https://litecoin.info/Block_hashing_algorithm</a></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">[2] </span><a href="https://bitcoinwisdom.com/litecoin/difficulty" target="_blank" style="font-size:12.8000001907349px">https://bitcoinwisdom.com/litecoin/difficulty</a><br></div></div></div></div>