<p>I am sorry if the reply didn&#39;t go in-thread (that also means that there is little chance that this one will be in-thread, as I am using the same email software on my phone to write it.  I need to get off my lazy ass and write an email client for Android that works the way it ought to, with proper support for encryption, digital signatures, threading... and mod the system to support a LUKS encrypted SD card, and... nevermind).</p>

<p>I was indeed referring to you (MWH), and I was replying to the message asking about your thoughts on login delays.  I hope that provides sufficient context.</p>
<p>Also I was mentioning a system that employs encryption (of course I didn&#39;t write the encryption code in it; I am nowhere near qualified enough for that, nor am I qualified to review or audit the source code of the encryption used, so it is a black box to me) which I am writing for the purpose of creating a &quot;perfect backup&quot; (lossless w/ acl/xattrs, compressed, random-access at the file level, encrypted, able to span multiple media and retain all of these properties).  But I do know that passwords require transformation before they can be used as keys, and I know that KDFs do a large part of that, in concert with salting and hashing, and that the number of iterations has a natural impact on delay.</p>

<p>--<br>
Sent from my G2 running CyanogenMod!<br>
That is, a phone. :)</p>
<div class="gmail_quote">On Dec 23, 2010 11:58 PM, &quot;Michael H. Warfield&quot; &lt;<a href="mailto:mhw@wittsend.com" target="_blank">mhw@wittsend.com</a>&gt; wrote:<br type="attribution">&gt; Michael,<br>&gt; <br>&gt; No offense but I&#39;m totally at a loss to see who or what you were<br>

&gt; responding to with this.  Can you reply in-thread with some quoting?  I<br>&gt; see what you&#39;re saying and not understanding your point.  I&#39;m presuming<br>&gt; that the &quot;Not sure what is reply is going to be&quot; may be referring to me.<br>

&gt; My access is a little erratic right now during the holiday season so<br>&gt; you&#39;ll have to forgive me a bit.<br>&gt; <br>&gt; Regards,<br>&gt; Mike<br>&gt; <br>&gt; On Thu, 2010-12-23 at 18:48 -0500, Michael Trausch wrote:<br>

&gt;&gt; Not sure what his reply is going to be, but I can say that if there is a<br>&gt;&gt; delay, it should be inherent to the method of key generation.  For example,<br>&gt;&gt; if using a strong password as input to a KDF that runs a million rounds,<br>

&gt;&gt; there will be a noticable delay to the key generation.  Sadly, there is no<br>&gt;&gt; way to pick a universally applicable number of rounds, though; very old<br>&gt;&gt; systems won&#39;t be able to reasonably generate keys if there are more than<br>

&gt;&gt; several tens of thousands of iterations, while very new systems may not<br>&gt;&gt; delay at all.<br>&gt;&gt; <br>&gt;&gt; I have one system-in-progress that is setup to generate keys with 10,000,000<br>&gt;&gt; rounds, making the delay on my system around three seconds to generate the<br>

&gt;&gt; key.  In the target environment it takes ~10 seconds.  The only purpose is<br>&gt;&gt; to reduce the feasibility of brute forcing by increasing the time it takes<br>&gt;&gt; to generate a key.<br>&gt;&gt; <br>&gt;&gt; It seems that 1,000 to 10,000 iterations is the common value, but on my<br>

&gt;&gt; systems this provides nearly no delay whatsoever.  Certainly not one which<br>&gt;&gt; is perceptable to me.  Given a 3 second delay to generate a key that would<br>&gt;&gt; mean that it my system can only brute 120 keys per minute, if those keys all<br>

&gt;&gt; pass through the algorithm.  It also means that invalid passwords will take<br>&gt;&gt; some time, even locally, to find that they are invalid, which is the point<br>&gt;&gt; with something like this where there may not be a client/server interaction.<br>

&gt;&gt; <br>&gt;&gt; --<br>&gt;&gt; Sent from my G2 running CyanogenMod!<br>&gt;&gt; That is, a phone. :)<br>&gt;&gt; On Dec 23, 2010 6:34 PM, &quot;Matty&quot; &lt;<a href="mailto:matty91@gmail.com" target="_blank">matty91@gmail.com</a>&gt; wrote:<br>

&gt;&gt; <br>&gt;&gt; _______________________________________________<br>&gt;&gt; Ale mailing list<br>&gt;&gt; <a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>

&gt;&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>&gt; <br>&gt; -- <br>&gt; Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw@WittsEnd.com<br>

&gt;    /\/\|=mhw=|\/\/          | (678) 463-0932 |  <a href="http://www.wittsend.com/mhw/" target="_blank">http://www.wittsend.com/mhw/</a><br>&gt;    NIC whois: MHW9          | An optimist believes we live in the best of all<br>
&gt;  PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!<br>
</div>