<div dir="ltr">On Fri, Jul 12, 2013 at 2:37 AM, Iraklis . <span dir="ltr"><<a href="mailto:leontiad@gmail.com" target="_blank" onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=leontiad@gmail.com&cc=&bcc=&su=&body=','_blank');return false;">leontiad@gmail.com</a>></span> wrote:<br>

<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>You are missing the following:<br>
      Files are encrypted for deduplication. That implies a way to
      derive a key from the content of the files. That is if two files
      are similar they will have similar ciphertexts</div></div></blockquote><div><br></div><div>No, because they are encrypted under a key derived by a hash function, and one property of a secure hash function is that similar content produces completely different hashes, even if you just change one bit.</div>

<div><br></div><div>Using this content hash to seed a PRNG (and derive encryption keys for the content) will produce completely different pseudorandom padding, even for similar files.</div></div><div><br></div>-- <br>Tony Arcieri<br>


</div></div>