<p dir="ltr">Because it&#39;s trivial to create collisions! You can choose exactly what output you want. That&#39;s why XOR is a very bad digest scheme.</p>
<p dir="ltr">- Sent from my phone</p>
<div class="gmail_quote">Den 4 feb 2014 14:20 skrev &quot;Peter Todd&quot; &lt;<a href="mailto:pete@petertodd.org">pete@petertodd.org</a>&gt;:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Tue, Feb 04, 2014 at 02:13:12PM +0100, Mike Hearn wrote:<br>
&gt; Hah, good point. If nobody completes the homework, I&#39;ll post a fixed<br>
&gt; version tomorrow :)<br>
<br>
Heh, here&#39;s another 25mBTC while we&#39;re at it:<br>
<br>
<a href="https://github.com/opentimestamps/opentimestamps-client/commit/288f3c17626974de7eaef4f1c9b5cd93eecf40f6" target="_blank">https://github.com/opentimestamps/opentimestamps-client/commit/288f3c17626974de7eaef4f1c9b5cd93eecf40f6</a><br>

<br>
Why is that a bad idea?<br>
<br>
Bonus question: What was I smoking? (hint: where do I live?)<br>
<br>
&gt; On Tue, Feb 4, 2014 at 2:03 PM, Peter Todd &lt;<a href="mailto:pete@petertodd.org">pete@petertodd.org</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Tue, Feb 04, 2014 at 01:01:12PM +0100, Mike Hearn wrote:<br>
&gt; &gt; &gt; Hello,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I&#39;m pleased to announce the release of bitcoinj 0.11, a library for<br>
&gt; &gt; writing Bitcoin applications that run on the JVM. BitcoinJ is widely used<br>
&gt; &gt; across the Bitcoin community; some users include Bitcoin Wallet for<br>
&gt; &gt; Android, MultiBit, Hive, <a href="http://blockchain.info" target="_blank">blockchain.info</a>, the <a href="http://biteasy.com" target="_blank">biteasy.com</a> block explorer<br>
&gt; &gt; (written in Lisp!), Circle, Neo/Bee (Cypriot payment network), <a href="http://bitpos.me" target="_blank">bitpos.me</a>,<br>
&gt; &gt; Bitcoin Touch, BlueMatt&#39;s relay network and DNS crawler, academic advanced<br>
&gt; &gt; contracts research and more.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; The release-0.11 git tag is signed by Andreas Schildbach&#39;s GPG key. The<br>
&gt; &gt; commit hash is 410d4547a7dd. This paragraph is signed by the same Bitcoin<br>
&gt; &gt; key as with previous releases (check their release announcements to<br>
&gt; &gt; establish continuity). Additionally, this email is signed using DKIM and<br>
&gt; &gt; for the first time, a key that was ID verified by the Swiss government.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Key: 16vSNFP5Acsa6RBbjEA7QYCCRDRGXRFH4m<br>
&gt; &gt; &gt; Signature for last paragraph:<br>
&gt; &gt; H3DvWBqFHPxKW/cdYUdZ6OHjbq6ZtC5PHK4ebpeiE+FqTHyRLJ58BItbC0R2vo77h+DthpQigdEZ0V8ivSM7VIg=<br>
&gt; &gt;<br>
&gt; &gt; The above makes for a great homework problem for budding cryptographers:<br>
&gt; &gt; Why did the three forms of signature, DKIM, long-lived bitcoin address,<br>
&gt; &gt; and Official Swiss Government Identity fail to let you actually verify<br>
&gt; &gt; you have the right code? (but make for great security theater)<br>
&gt; &gt;<br>
&gt; &gt; Bonus question: Who has the smallest work-factor for such an attack?<br>
&gt; &gt;<br>
&gt; &gt; Two rewards of 25mBTC for correct responses to each question from a<br>
&gt; &gt; crypto newbie.<br>
&gt; &gt;<br>
&gt; &gt; &gt; Thanks to Mike Belshe, the wallet can now send to P2SH addresses.<br>
&gt; &gt;<br>
&gt; &gt; Thanks<br>
&gt; &gt;<br>
&gt; &gt; &gt; Generated signatures now use canonical S values. This will aid a future<br>
&gt; &gt; hard-forking rule change which bans malleable signatures.<br>
&gt; &gt;<br>
&gt; &gt; Soft-forking rule change.<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; &#39;peter&#39;[:-1]@<a href="http://petertodd.org" target="_blank">petertodd.org</a><br>
&gt; &gt; 000000000000000075829f6169c79d7d5aaa20bfa8da6e9edb2393c4f8662ba0<br>
&gt; &gt;<br>
<br>
--<br>
&#39;peter&#39;[:-1]@<a href="http://petertodd.org" target="_blank">petertodd.org</a><br>
000000000000000075829f6169c79d7d5aaa20bfa8da6e9edb2393c4f8662ba0<br>
<br>------------------------------------------------------------------------------<br>
Managing the Performance of Cloud-Based Applications<br>
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.<br>
Read the Whitepaper.<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=121051231&amp;iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=121051231&amp;iu=/4140/ostg.clktrk</a><br>_______________________________________________<br>

Bitcoin-development mailing list<br>
<a href="mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-development@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/bitcoin-development" target="_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-development</a><br>
<br></blockquote></div>