<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>crypto &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/crypto/</link>
	<description>Feed of posts on WordPress.com tagged "crypto"</description>
	<pubDate>Tue, 24 Nov 2009 16:06:43 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[di notti ed altri demoni]]></title>
<link>http://doscessa.wordpress.com/2009/11/24/di-notti-ed-altri-demoni/</link>
<pubDate>Tue, 24 Nov 2009 13:49:50 +0000</pubDate>
<dc:creator>patricia</dc:creator>
<guid>http://doscessa.wordpress.com/2009/11/24/di-notti-ed-altri-demoni/</guid>
<description><![CDATA[Mi capita spesso di desiderare un foglio e una matita per appuntare di corsa quello che mi passa per]]></description>
<content:encoded><![CDATA[Mi capita spesso di desiderare un foglio e una matita per appuntare di corsa quello che mi passa per]]></content:encoded>
</item>
<item>
<title><![CDATA[Is it on curve? (on prime fields)]]></title>
<link>http://cryptocode.wordpress.com/2009/11/20/is-it-on-curve-on-prime-fields/</link>
<pubDate>Fri, 20 Nov 2009 08:15:20 +0000</pubDate>
<dc:creator>CG</dc:creator>
<guid>http://cryptocode.wordpress.com/2009/11/20/is-it-on-curve-on-prime-fields/</guid>
<description><![CDATA[Sample parameters (from Guide to Elliptic Curve Cryptography #262) P-192: p = 2^192 − 2^64 − 1, a = ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Sample parameters (from Guide to Elliptic Curve Cryptography #262)</p>
<p>P-192: p = 2^192 − 2^64 − 1, a = −3, h = 1<br />
S = 0x 3045AE6F C8422F64 ED579528 D38120EA E12196D5<br />
r = 0x 3099D2BB BFCB2538 542DCD5F B078B6EF 5F3D6FE2 C745DE65<br />
b = 0x 64210519 E59C80E7 0FA7E9AB 72243049 FEB8DEEC C146B9B1<br />
n = 0x FFFFFFFF FFFFFFFF FFFFFFFF 99DEF836 146BC9B1 B4D22831<br />
x = 0x 188DA80E B03090F6 7CBF20EB 43A18800 F4FF0AFD 82FF1012<br />
y = 0x 07192B95 FFC8DA78 631011ED 6B24CDD5 73F977A1 1E794811 </p>
<p>The variables:<br />
x = 602046282375688656758213480587526111916698976636884684818<br />
y = 174050332293622031404857552280219410364023488927386650641<br />
b = 2455155546008943817740293915197451784769108058161191238065</p>
<p>Calculating in PARI:</p>
<pre class="brush: plain;">
Last login: Thu Nov 19 10:29:35 on ttys002
CGs-MacBook:~ chika$ gp
Reading GPRC: /sw/etc/gprc ...Done.

                  GP/PARI CALCULATOR Version 2.1.7 (released)
                             unknown 32-bit version
                (readline v5.0 enabled, extended help available)

                       Copyright (C) 2002 The PARI Group

PARI/GP is free software, covered by the GNU General Public License, and
comes WITHOUT ANY WARRANTY WHATSOEVER.

Type ? for help, \q to quit.
Type ?12 for how to get moral (and possibly technical) support.

   realprecision = 28 significant digits
   seriesprecision = 16 significant terms
   format = g0.28

parisize = 4000000, primelimit = 500000
(13:41) gp &#62; p = 2^192-2^64-1
%1 = 6277101735386680763835789423207666416083908700390324961279
(13:42) gp &#62; a = Mod(-3,p)
%2 = Mod(6277101735386680763835789423207666416083908700390324961276, 6277101735386680763835789423207666416083908700390324961279)
(13:44) gp &#62; b = Mod(2455155546008943817740293915197451784769108058161191238065,p)
%3 = Mod(2455155546008943817740293915197451784769108058161191238065, 6277101735386680763835789423207666416083908700390324961279)
(13:46) gp &#62; E = ([0,0,0,a,b])
%4 = [0, 0, 0, Mod(6277101735386680763835789423207666416083908700390324961276, 6277101735386680763835789423207666416083908700390324961279), Mod(2455155546008943817740293915197451784769108058161191238065, 6277101735386680763835789423207666416083908700390324961279)]
(13:47) gp &#62; ? isoncuve
  ***   isoncuve: unknown identifier.
(13:47) gp &#62; ?isoncurve
  ***   obsolete function: isoncurve
                           ^---------
For full compatibility with GP 1.39, type &#34;default(compatible,3)&#34; (you can
also set &#34;compatible = 3&#34; in your GPRC file).

New syntax: isoncurve(e,x) ===&#62; ellisoncurve(e,x)

ellisoncurve(e,x): true(1) if x is on elliptic curve e, false(0) if not.

(13:47) gp &#62; ellisoncurve
  ***   expected character: '(' instead of: ellisoncurve
                                                        ^

(13:47) gp &#62; ?isoncurve
  ***   obsolete function: isoncurve
                           ^---------
For full compatibility with GP 1.39, type &#34;default(compatible,3)&#34; (you can
also set &#34;compatible = 3&#34; in your GPRC file).

New syntax: isoncurve(e,x) ===&#62; ellisoncurve(e,x)

ellisoncurve(e,x): true(1) if x is on elliptic curve e, false(0) if not.

(13:47) gp &#62; x = Mod(602046282375688656758213480587526111916698976636884684818,p)
%5 = Mod(602046282375688656758213480587526111916698976636884684818, 6277101735386680763835789423207666416083908700390324961279)
(13:48) gp &#62; ellisoncurve(E, x)
  ***   bad argument for an elliptic curve related function
(13:48) gp &#62; ellisoncurve(E, x)
  ***   bad argument for an elliptic curve related function
(13:48) gp &#62; ellisoncurve(E,x)
  ***   bad argument for an elliptic curve related function
(13:49) gp &#62; y = Mod(174050332293622031404857552280219410364023488927386650641,p)
%6 = Mod(174050332293622031404857552280219410364023488927386650641, 6277101735386680763835789423207666416083908700390324961279)
(13:49) gp &#62; z = (x,y)
  ***   expected character: ')' instead of: z=(x,y)
                                                ^---

(13:49) gp &#62; z=(x,y)
  ***   expected character: ')' instead of: z=(x,y)
                                                ^---

(13:49) gp &#62; z = (x,y)
  ***   expected character: ')' instead of: z=(x,y)
                                                ^---

(13:49) gp &#62; z=[x,y]
%7 = [Mod(602046282375688656758213480587526111916698976636884684818, 6277101735386680763835789423207666416083908700390324961279), Mod(174050332293622031404857552280219410364023488927386650641, 6277101735386680763835789423207666416083908700390324961279)]
(13:49) gp &#62; ellisoncurve(E,z)
%8 = 1
(13:50) gp &#62;
</pre>
<p>[editing is on progress]</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ASA VPN Server config template]]></title>
<link>http://geniesis.wordpress.com/2009/11/20/asa-vpn-server-config-template/</link>
<pubDate>Fri, 20 Nov 2009 04:21:05 +0000</pubDate>
<dc:creator>geniesis</dc:creator>
<guid>http://geniesis.wordpress.com/2009/11/20/asa-vpn-server-config-template/</guid>
<description><![CDATA[I keep forgetting the config required for setting up an ASA VPN server, so here it is for reference:]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I keep forgetting the config required for setting up an ASA VPN server, so here it is for reference:</p>
<p>This is an ASA config with Radius authentication.</p>
<blockquote><p>aaa-server RADIUS protocol radius<br />
aaa-server RADIUS (inside) host &#60;HOST&#62;<br />
key &#60;KEY&#62;</p>
<p>access-list VPN_splitTunnelAcl standard permit &#60;NETWORK&#62; &#60;SUBNET&#62;<br />
ip local pool VPN-IP-POOL &#60;FROM_IP&#62;-&#60;TO_IP&#62; mask 255.255.255.0</p>
<p>access-list nonat extended permit ip any &#60;NETWORK&#62; &#60;SUBNET&#62;<br />
nat (inside) 0 access-list nonat</p>
<p>group-policy &#60;GROUP&#62; internal<br />
group-policy &#60;GROUP&#62; attributes<br />
dns-server value &#60;DNS_IP&#62;<br />
vpn-tunnel-protocol IPSec webvpn<br />
ipsec-udp enable<br />
split-tunnel-policy tunnelspecified<br />
split-tunnel-network-list value VPN_splitTunnelAcl<br />
default-domain value &#60;DNS_SUFFIX&#62;<br />
webvpn<br />
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac<br />
crypto ipsec security-association lifetime seconds 28800<br />
crypto ipsec security-association lifetime kilobytes 4608000<br />
crypto dynamic-map outside_dyn_map 10 set transform-set ESP-3DES-SHA<br />
crypto dynamic-map outside_dyn_map 10 set security-association lifetime seconds 28800<br />
crypto dynamic-map outside_dyn_map 10 set security-association lifetime kilobytes 4608000<br />
crypto dynamic-map outside_dyn_map 10 set reverse-route<br />
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map<br />
crypto map outside_map interface outside<br />
isakmp enable outside<br />
isakmp policy 10 authentication pre-share<br />
isakmp policy 10 encryption 3des<br />
isakmp policy 10 hash sha<br />
isakmp policy 10 group 2<br />
isakmp policy 10 lifetime 1000<br />
isakmp nat-traversal  20</p>
<p>tunnel-group &#60;TUNNEL&#62; type ipsec-ra<br />
tunnel-group &#60;TUNNEL&#62; ipsec-attributes<br />
pre-shared-key &#60;PRESHAREKEY&#62;<br />
isakmp keepalive threshold 10 retry 2<br />
tunnel-group &#60;TUNNEL&#62; general-attributes<br />
address-pool VPN-IP-POOL<br />
authentication-server-group RADIUS<br />
default-group-policy &#60;GROUP&#62;</p></blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Filmación del "Nessie de Normandía"]]></title>
<link>http://esencia21.wordpress.com/2009/11/19/filmacion-del-nessie-de-normandia/</link>
<pubDate>Thu, 19 Nov 2009 13:25:34 +0000</pubDate>
<dc:creator>esencia21</dc:creator>
<guid>http://esencia21.wordpress.com/2009/11/19/filmacion-del-nessie-de-normandia/</guid>
<description><![CDATA[Hay algo grandes en los lagos de los canales de Madeira Beach, en la costa del condado de Pinellas, ]]></description>
<content:encoded><![CDATA[Hay algo grandes en los lagos de los canales de Madeira Beach, en la costa del condado de Pinellas, ]]></content:encoded>
</item>
<item>
<title><![CDATA[Another simple hash function]]></title>
<link>http://cryptocode.wordpress.com/2009/11/16/another-simple-hash-function/</link>
<pubDate>Mon, 16 Nov 2009 03:11:30 +0000</pubDate>
<dc:creator>CG</dc:creator>
<guid>http://cryptocode.wordpress.com/2009/11/16/another-simple-hash-function/</guid>
<description><![CDATA[Another simple example: /* Simple Hash Example CG - 15112009 */ #include &lt;stdio.h&gt; #define L 3]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Another simple example:</p>
<pre class="brush: cpp;">
/*
   Simple Hash Example
   CG - 15112009
*/      

#include &#60;stdio.h&#62;

#define L 32     //the length of the message is 32 bit
#define N 8      //the length of the message block is 8 bit 

int main(){
   char M[L] = {1,0,1,0,1,0,1,0,1,0,0,1,0,1,1,0,1,1,0,0,1,1,0,0,1,1,1,1,0,0,1,1};
   int x = L/N;
   int i, j, k;

   char m[x][N];
   int c[N];

   j = 0;
   k = 0;
   for (i = 0; i &#60; L; i++){
      m[j][k] = M[i];
//      printf(&#34;\nm[%d][%d] = %d&#34;, j, k, m[j][k]);
      k++;
      if ((i != 0) &#38;&#38; ((i % N) == 0)){
         j++;
         k = 0;
      }
   }   

   printf(&#34;\nM = &#34;);
   for (i = 0; i &#60; L; i++)
      printf(&#34;%d &#34;, M[i]);

   for (j = 0; j &#60; x; j++)
      for (k = 0; k &#60; N; k++){
         printf(&#34;\nm[%d][%d] = %d&#34;, j, k, m[j][k]);
      }
   printf(&#34;\n&#34;);

   for (i = 0; i &#60; N; i++)
      c[i] = 0;

   for (k = 0; k &#60; N; k++)
      for (j = 0; j &#60; x; j++)
         c[k] = c[k] ^ m[j][k];

   printf(&#34;\nThe N-bit hash code : \n&#34;);
   for (i = 0; i &#60; N; i++)
      printf(&#34;%d &#34;, c[i]);

   printf(&#34;\n&#34;);
}
</pre>
<p>The result is:</p>
<p><code><br />
M = 1 0 1 0 1 0 1 0 1 0 0 1 0 1 1 0 1 1 0 0 1 1 0 0 1 1 1 1 0 0 1 1<br />
m[0][0] = 1<br />
m[0][1] = 0<br />
m[0][2] = 1<br />
m[0][3] = 0<br />
m[0][4] = 1<br />
m[0][5] = 0<br />
m[0][6] = 1<br />
m[0][7] = 0<br />
m[1][0] = 0<br />
m[1][1] = 0<br />
m[1][2] = 1<br />
m[1][3] = 0<br />
m[1][4] = 1<br />
m[1][5] = 1<br />
m[1][6] = 0<br />
m[1][7] = 1<br />
m[2][0] = 1<br />
m[2][1] = 0<br />
m[2][2] = 0<br />
m[2][3] = 1<br />
m[2][4] = 1<br />
m[2][5] = 0<br />
m[2][6] = 0<br />
m[2][7] = 1<br />
m[3][0] = 1<br />
m[3][1] = 1<br />
m[3][2] = 1<br />
m[3][3] = 0<br />
m[3][4] = 0<br />
m[3][5] = 1<br />
m[3][6] = 1<br />
m[3][7] = 0</p>
<p>The N-bit hash code :<br />
1 1 1 1 1 0 0 0<br />
</code></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Qaqrat]]></title>
<link>http://strangealaska.wordpress.com/2009/11/14/qaqrat/</link>
<pubDate>Sun, 15 Nov 2009 00:53:39 +0000</pubDate>
<dc:creator>jessiedesmond</dc:creator>
<guid>http://strangealaska.wordpress.com/2009/11/14/qaqrat/</guid>
<description><![CDATA[There&#8217;s been some questioning of what&#8217;s going on with the Qaqrat case. Photos were sent ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>There&#8217;s been some questioning of what&#8217;s going on with the Qaqrat case.  Photos were sent to Mike Castellini at the <a href="http://www.sfos.uaf.edu/cmi/">Coastal Marine Institute</a> at UAF.  The Smithsonian was also contacted.  I&#8217;m guessing the <a href="http://www.si.edu/marinescience/">Marine Science Department</a> or the <a href="http://nationalzoo.si.edu/ConservationAndScience/CRC">Conservation and Research Center</a>.</p>
<p>Anyone want to tackle this?</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Python e RSA]]></title>
<link>http://bitentropy.wordpress.com/2009/11/14/python-e-rsa/</link>
<pubDate>Sat, 14 Nov 2009 15:01:38 +0000</pubDate>
<dc:creator>bitentropy</dc:creator>
<guid>http://bitentropy.wordpress.com/2009/11/14/python-e-rsa/</guid>
<description><![CDATA[Ci stanno tanti toolkit crypto per Python, ma spero di aver fatto la scelta migliore (almeno per ora]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Ci stanno tanti toolkit crypto per Python, ma sper<img class="alignright" src="http://sial.org/howto/openssl/lock.jpg" alt="" width="77" height="62" />o di aver fatto la scelta migliore (almeno per ora). Piccola classettina d utilità per chiavi RSA, a sua volta un wrapper alla già completa <a href="http://www.heikkitoivonen.net/m2crypto/api/M2Crypto.RSA.RSA-class.html" target="_blank">classe</a> di <a href="http://sandbox.rulemaker.net/ngps/m2/" target="_blank">m2crypto</a>.</p>
<pre class="brush: python;">
import M2Crypto

class RSA (object):
    def __init__ (self, bits=1024, padding=M2Crypto.RSA.pkcs1_padding, exp=65537):
        self.bits = bits
        self.padding = padding
        self.exp = exp
        self.rsa = None

    def generate (self):
        self.rsa = M2Crypto.RSA.gen_key(
            self.bits, self.exp, lambda x: None)

    def encrypt (self, s):
        c = &#34;&#34;
        bytes = self.bits/8-11
        for i in range(0, len(s), bytes):
            c += self.rsa.public_encrypt (s[i:i+bytes], self.padding)
        return c

    def sign (self, s, algo=&#34;sha1&#34;):
        dgst = M2Crypto.EVP.MessageDigest (algo)
        dgst.update (s)
        return self.rsa.sign (dgst.digest (), algo)

    def verify (self, s, sign, algo=&#34;sha1&#34;):
        dgst = M2Crypto.EVP.MessageDigest (algo)
        dgst.update (s)
        try:
            self.rsa.verify (dgst.digest (), sign, algo)
        except:
            return False
        return True

    def decrypt (self, c):
        s = &#34;&#34;
        bytes = self.bits/8
        for i in range(0, len(c), bytes):
            s += self.rsa.private_decrypt (c[i:i+bytes], self.padding)
        return s
</pre>
<p>Esempio d&#8217;utilizzo</p>
<p><span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;line-height:18px;font-size:12px;white-space:pre;">
<pre class="brush: python;">
rsa = RSA ()
rsa.generate () # generate key pair
s = &#34;a&#34;*2000 # test data
edata = rsa.encrypt (s)
sign = rsa.sign (s)

ddata = rsa.decrypt (edata)
assert rsa.verify (ddata, sign) == True
</pre>
<p></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Dicen que esta es la foto de una boa de casi 17 metros]]></title>
<link>http://esencia21.wordpress.com/2009/11/13/dicen-que-esta-es-la-foto-de-una-boa-de-casi-17-metros/</link>
<pubDate>Fri, 13 Nov 2009 23:12:51 +0000</pubDate>
<dc:creator>esencia21</dc:creator>
<guid>http://esencia21.wordpress.com/2009/11/13/dicen-que-esta-es-la-foto-de-una-boa-de-casi-17-metros/</guid>
<description><![CDATA[Es la nueva sensación en Internet y no es para menos, se trataría de un descomunal ofidio constricto]]></description>
<content:encoded><![CDATA[Es la nueva sensación en Internet y no es para menos, se trataría de un descomunal ofidio constricto]]></content:encoded>
</item>
<item>
<title><![CDATA[Do we have too few problems to work on?]]></title>
<link>http://jonkatz.wordpress.com/2009/11/13/do-we-have-too-few-problems-to-work-on/</link>
<pubDate>Fri, 13 Nov 2009 18:02:27 +0000</pubDate>
<dc:creator>jonkatz</dc:creator>
<guid>http://jonkatz.wordpress.com/2009/11/13/do-we-have-too-few-problems-to-work-on/</guid>
<description><![CDATA[Recently I submitted a paper and found that someone else was working on the same problem. (In this p]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Recently I submitted a paper and found that someone else was working on the same problem. (In this particular case there was more involved, as well as a possible breach of ethics, but none of that is relevant to the point I am trying to make in this post.) I don&#8217;t have any statistics here, but this seems to happen relatively often in our field. It has happened to me at least 3 times &#8212; once on a problem that I would consider relatively obscure &#8212; with the result being a merged paper each time. Sometimes the results obtained were incomparable, but it was determined that a merge was in everyone&#8217;s best interests as well as the right thing to do scientifically. Other times the results were essentially the same.</p>
<p>I know I am not alone in this. At just about every conference there is at least one merged paper (I am aware of one at the upcoming TCC). An example from the summer that caught my attention was a set of <em>three</em> overlapping results showing constructions of HIBE based on lattices: <a href="http://eprint.iacr.org/2009/351">here</a>, <a href="http://eprint.iacr.org/2009/359">here</a>, and <a href="http://rump2009.cr.yp.to/">here</a>. I am aware of several other examples as well, though will refrain from mentioning them since sometimes the authors don&#8217;t want information about the way a paper was written to become public. (Feel free to share your own stories in the comments&#8230;)</p>
<p>What does it mean? Are there too few [good] problems to work on, so that we are all mining the same ground? If so, is this an indication that the community is stuck in a rut, or have we all just collectively identified what are the most important problems? While I think this explains part of the issue, many of the cases I am aware of involve, as I said, pretty obscure problems that are not the type I would expect everyone to jump on. Perhaps the social nature of our field, with people discussing their latest results at workshops, and open problems being &#8220;in the air&#8221;, encourages people to focus on similar sets of problems. Is this a good thing or a bad thing?</p>
<p>What do you think?</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Israeli ambassador welcomed with eggs in Turkey]]></title>
<link>http://siyasipakistan.wordpress.com/2009/11/05/israeli-ambassador-welcomed-with-eggs-in-turkey/</link>
<pubDate>Thu, 05 Nov 2009 05:34:42 +0000</pubDate>
<dc:creator>agaahipk</dc:creator>
<guid>http://siyasipakistan.wordpress.com/2009/11/05/israeli-ambassador-welcomed-with-eggs-in-turkey/</guid>
<description><![CDATA[PressTv Israel&#8217;s ambassador to Ankara has been pelted with eggs during a visit to a Turkish un]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong><a href="http://www.presstv.ir/detail.aspx?id=110446&#38;sectionid=351020204">PressTv</a></strong></p>
<p><strong><img src="http://www.presstv.ir/photo/20091104/esmaeeli20091104193917281.jpg" alt="" /> </strong></p>
<p>Israel&#8217;s ambassador to Ankara has been pelted with eggs during a visit to a Turkish university in the coastal city of Trabzon.</p>
<p>Angry Turkish students threw eggs at Gabi Levy as he arrived at Karadeniz Teknik university on Wednesday.</p>
<p>The students protesting against Tel Aviv&#8217;s policies regarding the Palestinians, including the issues of illegal settlement activity in the West bank and the war on the Gaza Strip.</p>
<p>Police detained a group of 20 students and the Israeli ambassador left without getting out of his vehicle, Anatolia reported.</p>
<p>The embarrassing incident came only one day after Gabi Levy, who is on a tour of the region, faced harsh criticism in the nearby city of Rize, where local officials condemned Israel&#8217;s &#8220;policies of expansion and occupation&#8221; and said that the so-called “self-defense” should not involve &#8220;killing children.&#8221;</p>
<p>Ankara-Tel Aviv re relations deteriorated after Israel&#8217;s deadly military offensive in Gaza that killed over 1,400 Palestinians, mostly civilians, at the turn of the year.</p>
<p>The two side&#8217;s bilateral relations further deteriorated last month, after Ankara excluded Israel from an international air force exercise in protest at &#8220;the humanitarian tragedy&#8221; in Gaza and called for an immediate lifting of Gaza siege, which has put the region&#8217;s 1.5 million population in desperate need of basic necessities.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[On Mathematical Diseases]]></title>
<link>http://rjlipton.wordpress.com/2009/11/04/on-mathematical-diseases/</link>
<pubDate>Wed, 04 Nov 2009 23:29:49 +0000</pubDate>
<dc:creator>rjlipton</dc:creator>
<guid>http://rjlipton.wordpress.com/2009/11/04/on-mathematical-diseases/</guid>
<description><![CDATA[Mathematical diseases: symptoms and examples Underwood Dudley is a number theorist, who is perhaps b]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><font color="”#0066cc?"><br />
<em> Mathematical diseases: symptoms and examples </em><br />
<font color="”#000000?"></p>
<p><img src="http://rjlipton.wordpress.com/files/2009/11/images.jpeg" alt="images" title="images" width="86" height="98" class="alignright size-full wp-image-3825" /></p>
<p>
Underwood Dudley is a number theorist, who is perhaps best known for his popular books on mathematics. The most famous one is <a href="http://www.abebooks.com/servlet/SearchResults?isbn=0387965688">A Budget of Trisections</a>, which studies the many failed attempts at the ancient problem of trisecting an angle with only a ruler and a compass. This problem is <a href="http://www.jimloy.com/geometry/trisect.htm">impossible</a>, yet that has not stopped some people from working day and night looking for a solution. Trying to find such a solution is an obsession for some; it&#8217;s almost like they have a malady that forces them to work on the problem. </p>
<p>
Today I plan on talking about other mathematical obsessions. They are like diseases that affect some, and make them feel they <i>have</i> to work on certain mathematical problems. Perhaps P=NP is one?<br />
<!--more--></p>
<p>
Dudley&#8217;s book is quite funny, in my opinion, although it does border on being a little bit unkind. As the title suggests, in &#8220;A Budget of Trisections,&#8221; he presents one attempt after another at a general method for trisecting any angle. For most he points out that when the angle is equal to some value what the exact error is. For others he adds a comment like:  	</p>
<blockquote><p>
This construction almost worked, if only the points <img src='http://l.wordpress.com/latex.php?latex=%7BA%7D%26%2338%3Bbg%3De8e8e8%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{A}&amp;bg=e8e8e8&amp;fg=000000' title='{A}&amp;bg=e8e8e8&amp;fg=000000' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=%7BB%7D%26%2338%3Bbg%3De8e8e8%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{B}&amp;bg=e8e8e8&amp;fg=000000' title='{B}&amp;bg=e8e8e8&amp;fg=000000' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=%7BC%7D%26%2338%3Bbg%3De8e8e8%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{C}&amp;bg=e8e8e8&amp;fg=000000' title='{C}&amp;bg=e8e8e8&amp;fg=000000' class='latex' /> <i>had</i> really been co-linear it would have worked. Perhaps the author could move <img src='http://l.wordpress.com/latex.php?latex=%7B%5Cdots%7D%26%2338%3Bbg%3De8e8e8%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\dots}&amp;bg=e8e8e8&amp;fg=000000' title='{\dots}&amp;bg=e8e8e8&amp;fg=000000' class='latex' />
</p></blockquote>
<p>His book is about the kind of mathematical problems that I will discuss today: problems that act almost like a real disease.</p>
<p>
I cannot resist a quote from Underwood that attacks bloggers. Note he uses &#8220;he&#8221; to refer to himself in this quote:  </p>
<blockquote><p>
He has done quite a bit of editing in his time&#8211;the College Mathematics Journal for five years, the Pi Mu Epsilon Journal for three, the Dolciani Mathematical Expositions book series (six years), and the New Mathematical Library book series (three years). As a result he has a complete grasp of the distinction between &#8220;that&#8221; and &#8220;which&#8221; (very rare) and the conviction that no writing, including this, should appear before the public before passing through the hands, eyes, and brain of an editor. <b>Take that, bloggers!</b>
</p></blockquote>
<p> (Bold added by me.) </p>
<p>
Oh well.</p>
<p>
<p><b> What Is a Mathematical Disease? </b></p>
<p><p>
This is the flu season in Atlanta, and many are getting it. I hope you either miss the bug, or if you are unfortunate enough to get it, get a mild case. </p>
<p>
There is another type of &#8220;bug&#8221; that affects mathematicians&#8212;the attempt to solve certain problems. These problems have been called &#8220;diseases,&#8221; which is a term coined by the great graph theorist Frank Harary. They include many famous problems from graph theory, some from algebra, some from number theory, some from complexity theory, and so on. </p>
<p>
The symptoms of the flu are well known&#8212;I hope again you stay away from fever, chills, and the aches&#8212;but the symptoms for a mathematical disease (MD) are less well established. There are some signs however that a problem is a MD. </p>
<ol>
<li> A problem must be easy to state to be a MD. This is not sufficient, but is required. Thus, the <a href="http://en.wikipedia.org/wiki/Hodge_conjecture">Hodge-Conjecture</a> will never be a disease. I have no clue what it is about.
<li> A problem must seem to be accessible, even to an amateur. This is a key requirement. When you first hear the problem your reaction should be: <i>that is open?</i> The problem must <i>seem</i> to be easy.
<li> A problem must also have been repeatedly &#8220;solved&#8221; to be a true MD. A good MD usually has been &#8220;proved&#8221; many times&#8212;often by the same person. If you see a paper in arXiv.org with many &#8220;updates&#8221; that&#8217;s a good sign that the problem is a MD.
</ol>
<p>
Unlike real diseases, MD&#8217;s have no known cure. Even the solution of the problem will not stop attempts by some to continue working on it. If the proof shows that something is impossible&#8212;like the situation with angle trisection&#8212;those with the MD will often still work hard on trying to get around the proof. Even when there is a fine proof, those with the disease may continue trying to find a simple proof. For example, Andrew Wiles&#8217; proof of Fermat&#8217;s Last Theorem has not stopped some from trying to find Pierre de Fermat&#8217;s &#8220;the truly marvellous proof.&#8221;</p>
<p>
<p><b> Some Mathematical Diseases </b></p>
<p><p>
Here are some of the best known MD&#8217;s along with a couple of lesser known ones. I would like to hear from you with additional suggestions. As I stated earlier Harary was probably the first to call certain problems MD&#8217;s. His original <a href="http://www.math.ilstu.edu/cve/speakers/Rosa-CVE-Talk.pdf">list</a> was restricted to graph problems, however. </p>
<p>
<img src='http://l.wordpress.com/latex.php?latex=%7B%5Cbullet+%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\bullet }&amp;fg=000000' title='{\bullet }&amp;fg=000000' class='latex' /> <b>Graph Isomorphism:</b> This is the classic question of whether or not there is a polynomial time algorithm that can tell if two graphs are isomorphic. The problem seems so easy, but it has resisted all attempts so far. I admit to being mildly infected by this MD: in the 1970&#8217;s I worked on GI for special classes of graphs using a method I called the <a href="http://www.cs.yale.edu/publications/techreports/tr135.pdf">beacon set method</a>. </p>
<p>
There are some beautiful partial results: for example, the work of László Babai, Yu Grigoryev, and David Mount on the case where the graphs have bounded multiplicity of eigenvalues is one of my favorites. Also the <a href="http://ix.cs.uoregon.edu/~luks/iso.pdf">solution</a> by Eugene Luks of the bounded degree case is one of the major milestones. </p>
<p>
I would like to raise one question that I believe is open: Is there a polynomial time algorithm for the GI problem for <i>expander graphs</i>? I asked several people at the recent Theory Day and no one seem to know the answer. Perhaps you do.</p>
<p>
<img src='http://l.wordpress.com/latex.php?latex=%7B%5Cbullet+%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\bullet }&amp;fg=000000' title='{\bullet }&amp;fg=000000' class='latex' /> <b>Group Isomorphism:</b> This problem is not as well known as the GI problem. The question is given two finite groups of size <img src='http://l.wordpress.com/latex.php?latex=%7Bn%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{n}&amp;fg=000000' title='{n}&amp;fg=000000' class='latex' /> are they isomorphic? The key is that the groups are presented by their multiplication tables. The best known result is that isomorphism can be done in time <img src='http://l.wordpress.com/latex.php?latex=%7Bn%5E%7B%5Clog+n+%2BO%281%29%7D%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{n^{\log n +O(1)}}&amp;fg=000000' title='{n^{\log n +O(1)}}&amp;fg=000000' class='latex' />. This result is due to Zeke Zalcstein and myself and independently Bob Tarjan. It is quite a simple observation based on the fact that groups always have generator sets of cardinality at most <img src='http://l.wordpress.com/latex.php?latex=%7B%5Clog+n%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\log n}&amp;fg=000000' title='{\log n}&amp;fg=000000' class='latex' />. </p>
<p>
I have been affected with this MD for decades. Like some kind of real diseases I get &#8220;bouts&#8221; where I think that I have a new idea, and I then work hard on the problem. It seems so easy, but is also like GI&#8212;very elusive. I would be personally excited by any improvement over the above bound. Note, the hard case seems to be the problem of deciding isomorphism for <img src='http://l.wordpress.com/latex.php?latex=%7Bp%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}&amp;fg=000000' title='{p}&amp;fg=000000' class='latex' />-groups. If you can make progress on such groups, I believe that the general case might yield. In any event <img src='http://l.wordpress.com/latex.php?latex=%7Bp%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p}&amp;fg=000000' title='{p}&amp;fg=000000' class='latex' />-groups seem to be quite hard.</p>
<p>
<img src='http://l.wordpress.com/latex.php?latex=%7B%5Cbullet+%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\bullet }&amp;fg=000000' title='{\bullet }&amp;fg=000000' class='latex' /> <b>Graph Reconstruction:</b> This is a famous problem due to Stanislaw Ulam. The <a href="http://en.wikipedia.org/wiki/New_digraph_reconstruction_conjecture">conjecture</a> is that the vertex deleted subgraphs of a graph determine the graph up to isomorphism, provided it has at least <img src='http://l.wordpress.com/latex.php?latex=%7B3%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{3}&amp;fg=000000' title='{3}&amp;fg=000000' class='latex' /> vertices. It is one of the best known problems in graph theory, and is one of the original diseases that Harary discussed. </p>
<p>
I somehow have been immune to this disease&#8212;I have never thought about it at all. The problem does seem to be solvable; how can all the subgraphs not determine a graph? My only thought has been that this problem somehow seems to be related to GI. But, I have no idea why I believe that is true.</p>
<p>
<img src='http://l.wordpress.com/latex.php?latex=%7B%5Cbullet+%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\bullet }&amp;fg=000000' title='{\bullet }&amp;fg=000000' class='latex' /> <b>Jacobian Conjecture:</b> This is a famous problem about when a polynomial map has an inverse. Suppose that we consider the map that sends a pair of complex numbers <img src='http://l.wordpress.com/latex.php?latex=%7B%28x%2Cy%29%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{(x,y)}&amp;fg=000000' title='{(x,y)}&amp;fg=000000' class='latex' /> to <img src='http://l.wordpress.com/latex.php?latex=%7B%28p%28x%2Cy%29%2Cq%28x%2Cy%29%29%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{(p(x,y),q(x,y))}&amp;fg=000000' title='{(p(x,y),q(x,y))}&amp;fg=000000' class='latex' /> where <img src='http://l.wordpress.com/latex.php?latex=%7Bp%28x%2Cy%29%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p(x,y)}&amp;fg=000000' title='{p(x,y)}&amp;fg=000000' class='latex' /> and <img src='http://l.wordpress.com/latex.php?latex=%7Bq%28x%2Cy%29%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{q(x,y)}&amp;fg=000000' title='{q(x,y)}&amp;fg=000000' class='latex' /> are both integer polynomials. The conjecture is that the mapping is 1-1 if and only if the mapping is locally 1-1. The reason it is called the Jacobian Conjecture is that the map is locally 1-1 if and only if the determinant of the matrix
<p align="center"><img src='http://l.wordpress.com/latex.php?latex=%5Cdisplaystyle++%5Cleft%28+%7B%5Cbegin%7Barray%7D%7Bcc%7D+p_%7Bx%7D%28x%2Cy%29+%26%2338%3B+q_%7Bx%7D%28x%2Cy%29+%5C%5C+p_%7By%7D%28x%2Cy%29+%26%2338%3B+q_%7By%7D%28x%2Cy%29+%5C%5C+%5Cend%7Barray%7D+%7D+%5Cright%29+%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='\displaystyle  \left( {\begin{array}{cc} p_{x}(x,y) &amp; q_{x}(x,y) \\ p_{y}(x,y) &amp; q_{y}(x,y) \\ \end{array} } \right) &amp;fg=000000' title='\displaystyle  \left( {\begin{array}{cc} p_{x}(x,y) &amp; q_{x}(x,y) \\ p_{y}(x,y) &amp; q_{y}(x,y) \\ \end{array} } \right) &amp;fg=000000' class='latex' /></p>
<p> is a non-zero constant. Note, <img src='http://l.wordpress.com/latex.php?latex=%7Bp_%7Bx%7D%28x%2Cy%29%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{p_{x}(x,y)}&amp;fg=000000' title='{p_{x}(x,y)}&amp;fg=000000' class='latex' /> is the partial derivative of the polynomial with respect to <img src='http://l.wordpress.com/latex.php?latex=%7Bx%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{x}&amp;fg=000000' title='{x}&amp;fg=000000' class='latex' />. The above matrix is called the Jacobian of the map. </p>
<p>
This is a perfect example of a MD. I have worked some on it with one of the experts in the area&#8212;we proved a small result about the problem. During the time we started to work together, within a few months the full result was claimed twice. One of the claims was by a faculty member of a well known mathematics department. They even went as far to schedule a series of &#8220;special&#8221; talks to present the great proof. Another expert in the area had looked at their proof and announced that it was &#8220;correct.&#8221; Eventually, the talks were cancelled, since the proof fell apart.</p>
<p>
<img src='http://l.wordpress.com/latex.php?latex=%7B%5Cbullet+%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\bullet }&amp;fg=000000' title='{\bullet }&amp;fg=000000' class='latex' /> <b>Crypto-Systems:</b> This is the quest to create new public key crypto-systems. While factoring, discrete logarithm, and elliptic curves seem to be fine existing public key systems, there is a constant interest in creating new ones that are based on other assumptions.</p>
<p>
Some of this work is quite technical, but it seems a bit like an MD to me. There are amateurs and professionals who both seem to always want to create a new system. Many times these systems are broken quite quickly&#8212;it is really hard to design a crypto-system. </p>
<p>
A recent example of this was the work of Sarah Flannery and David Flannery in creating a new system detailed in their book <a href="http://astore.amazon.com/sosmath/detail/1565123778">In Code</a>. The book gives the story of her discovery of her system, and its eventual collapse. </p>
<p>
<img src='http://l.wordpress.com/latex.php?latex=%7B%5Cbullet+%7D%26%2338%3Bfg%3D000000&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='{\bullet }&amp;fg=000000' title='{\bullet }&amp;fg=000000' class='latex' /> <b>P=NP:</b> You all know this problem. See <a href="http://www.win.tue.nl/~gwoegi/P-versus-NP.htm">this</a> for a nice list of attempts over the years to resolve the problem. Thanks to Gerhard Woeginger for maintaining the list. </p>
<p>
<p><b> Open Problems </b></p>
<p><p>
What are other MD&#8217;s? What is your favorite? Why do some problems become diseases? While others do not?</p>
<p>
I would love to see some progress made on group isomorphism&#8212;I guess I have a bad case of this disease. I promise that if you solve it I will stop thinking about it. Really.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Crypto]]></title>
<link>http://paoblog.wordpress.com/2009/11/04/crypto/</link>
<pubDate>Wed, 04 Nov 2009 10:31:14 +0000</pubDate>
<dc:creator>paoblog</dc:creator>
<guid>http://paoblog.wordpress.com/2009/11/04/crypto/</guid>
<description><![CDATA[Crypto di  Dan Brown &#8211; Ediz. Mondadori &#8211; Pagg. 427  &#8211; € 18,60 Trama: Washington. L]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><strong>Crypto</strong></p>
<p>di  Dan Brown &#8211; Ediz. Mondadori &#8211; Pagg. 427  &#8211; € 18,60</p>
<p>Trama: Washington. La trentottenne Susan Fletcher, brillantissima mente matematica e responsabile della divisione di crittologia della National Security Agency, viene convocata d&#8217;urgenza nell&#8217;ufficio del comandante Strathmore. Qualcuno ha realizzato un programma capace di &#8220;ingannare&#8221; il più sofisticato strumento informatico di spionaggio al mondo, un supercomputer che può decodificare qualunque testo cifrato a una velocità strabiliante. Pochissimi conoscono l&#8217;esistenza di questa macchina, ideata per contrastare le nuove minacce alla sicurezza nell&#8217;era di Internet e in grado di controllare la posta elettronica di chiunque. La stessa NSA, nata per proteggere le comunicazione del governo americano e intercettare quelle delle potenze straniere, opera in semiclandestinità, al di fuori del controllo pubblico. Susan non si stupisce quando viene a sapere che &#8220;Fortezza Digitale&#8221;, così è stato battezzato il programma, è frutto delle ricerche di un genio dell&#8217;informatica: il giapponese Ensei Tankado, handicappato dalla nascita per gli effetti del disastro atomico di Hiroshima, che dopo essere stato chiamato negli Stati Uniti a lavorare per l&#8217;NSA ha sbattuto la porta in faccia ai suoi capi quando si è accorto che il supercomputer rischiava di trasformarsi in un nuovo Grande Fratello. I suoi intenti sono nobili, ma la sua decisione di boicottare l&#8217;operato dell&#8217;NSA, mettendo il programma in rete e permettendo a chiunque di scaricarlo, rischia di creare l&#8217;anarchia e di assicurare libertà d&#8217;azione a spie e criminali.</p>
<p>Letto da: Ro</p>
<p>Opinione: Complicato per chi non mastica di informatica e deludente.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[P1363 A.2.1 Modular exponentiation]]></title>
<link>http://cryptocode.wordpress.com/2009/11/02/p1363-a-2-1-modular-exponentiation/</link>
<pubDate>Mon, 02 Nov 2009 16:05:06 +0000</pubDate>
<dc:creator>CG</dc:creator>
<guid>http://cryptocode.wordpress.com/2009/11/02/p1363-a-2-1-modular-exponentiation/</guid>
<description><![CDATA[Next will be A.2.5 Finding Square Roots Modulo a Prime]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="aligncenter size-full wp-image-1003" title="Picture 2" src="http://cryptocode.wordpress.com/files/2009/11/picture-2.png" alt="Picture 2" width="655" height="358" /></p>
<p>Next will be A.2.5 Finding Square Roots Modulo a Prime</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Los Monstruos Acuáticos invaden Londres]]></title>
<link>http://esencia21.wordpress.com/2009/11/01/los-monstruos-acuaticos-invaden-londres/</link>
<pubDate>Sun, 01 Nov 2009 18:34:48 +0000</pubDate>
<dc:creator>esencia21</dc:creator>
<guid>http://esencia21.wordpress.com/2009/11/01/los-monstruos-acuaticos-invaden-londres/</guid>
<description><![CDATA[El Centro para Investigaciones (CFI) ubicado en el Conway Hall, Plaza del León Rojo, 25, Londres, Re]]></description>
<content:encoded><![CDATA[El Centro para Investigaciones (CFI) ubicado en el Conway Hall, Plaza del León Rojo, 25, Londres, Re]]></content:encoded>
</item>
<item>
<title><![CDATA[.kroonika]]></title>
<link>http://hundiorg.wordpress.com/2009/11/01/kroonika/</link>
<pubDate>Sat, 31 Oct 2009 22:57:33 +0000</pubDate>
<dc:creator>Nirti</dc:creator>
<guid>http://hundiorg.wordpress.com/2009/11/01/kroonika/</guid>
<description><![CDATA[Ma olen kõikidest emotsioonidest tühjaks tehtud ja&#8230; Neljapäev oli mul &#8220;patareide laadimi]]></description>
<content:encoded><![CDATA[Ma olen kõikidest emotsioonidest tühjaks tehtud ja&#8230; Neljapäev oli mul &#8220;patareide laadimi]]></content:encoded>
</item>
<item>
<title><![CDATA[Stop using unsafe keyed hashes, use HMAC]]></title>
<link>http://rdist.root.org/2009/10/29/stop-using-unsafe-keyed-hashes-use-hmac/</link>
<pubDate>Thu, 29 Oct 2009 15:00:01 +0000</pubDate>
<dc:creator>Nate Lawson</dc:creator>
<guid>http://rdist.root.org/2009/10/29/stop-using-unsafe-keyed-hashes-use-hmac/</guid>
<description><![CDATA[The HMAC construction turns a cryptographic hash algorithm into a keyed hash. It is commonly used fo]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The <a href="http://cseweb.ucsd.edu/~mihir/papers/hmac.html">HMAC</a> construction turns a cryptographic hash algorithm into a keyed hash. It is commonly used for integrity protection when the sender and recipient share a secret key. It was developed to address various problems with arbitrary keyed hash constructions. So why are developers still rolling their own?</p>
<p>One of the original papers on <a href="http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.34.3855">keyed hash constructions</a> describes the motivations for developing a standard for HMAC. In 1995, there was no standardization and cryptographers only worked from hunches as to what constituted a secure keyed hash. This paper summarized two known attacks on some common schemes that had evolved in the absence of a standard.</p>
<p>The first construction the paper attacks is H(k &#124;&#124; m), aka &#8220;secret prefix&#8221;. The key and the message to be authenticated were concatenated and hashed. The authenticator was the resulting hash. This was fatally flawed, as I mentioned in my <a href="http://rdist.root.org/2009/08/06/google-tech-talk-on-common-crypto-flaws/">previous talks</a> on web crypto. Standard hash algorithms that use the <a href="http://en.wikipedia.org/wiki/Merkle%E2%80%93Damg%C3%A5rd_construction">Merkle-Damgard</a> construction (like SHA-1) are subject to a length-extension attack. An attacker can trivially create an authenticator for m&#8217; where m&#8217; = m1 &#124;&#124; pad &#124;&#124; m2 if they have seen the authenticator for m1. (The &#8220;pad&#8221; value makes the input a multiple of the compression function block size and includes the total length hashed). This flaw was <a href="http://netifera.com/research/">most recently found</a> in the Flickr API.</p>
<p>The second construction was H(m &#124;&#124; k), aka &#8220;secret suffix&#8221;. While the length-extension attack no longer applies because k is unknown to the attacker, this still maximally exposes you to weaknesses in the hash algorithm. Preneel et al described two attacks on this approach.</p>
<p>The first attack is that secret suffix is weaker against offline second-preimage attacks. That is, an attacker can take an authenticator for a known plaintext m and calculate their own plaintext m&#8217; that hashes to the same value as the block just before k. If the input to the hash function just before k is identical, then the output is also the same. This means the attacker can just send m&#8217; and the previously seen authenticator for m and the two will match.</p>
<p>For a secure cryptographic hash function, a second-preimage attack takes 2<sup>n</sup> tries where n is the hash size in bits[1]. However, the secret suffix approach is marginally weaker to this kind of attack. If an attacker has seen t text and authenticator pairs, then the effort is only 2<sup>n</sup> / t since they can attempt a second-preimage match against any of the authenticators they have seen. This is usually not a problem since second-preimage attacks are usually much harder than finding collisions. As they have aged, all widely-used hash algorithms have fallen to collisions before second-preimage attacks.</p>
<p>The other attack is much more powerful. If the attacker can submit a chosen message to be authenticated, she can attempt an offline collision search. In this case, an attacker searches for two messages, m and m&#8217;, that hash to the same value. Once they are found, she requests an authenticator for the innocuous message m. Since a collision means the intermediate hash state before k is mixed in is identical (an &#8220;internal collision&#8221;), the final authenticator for both will be identical. The attacker then sends the evil message m&#8217; with the authenticator for m, the two match, and the message is accepted as authentic.</p>
<p>This means the secret suffix construction is insecure if collisions can be found in the underlying hash function. Due to the birthday paradox, this takes 2<sup>n/2</sup> work even for a secure hash function (e.g., 2<sup>64</sup> operations for a 128-bit hash). But it gets worse if the hash is weaker to collisions.</p>
<p>MD5 has multiple demonstrated collisions. Many systems continue to use HMAC-MD5 because a collision alone is not enough to compromise it. Because of the way the key is applied in HMAC, an attacker would have to generate an internal collision with the secret key, which is much harder than colliding with a chosen message[2]. Although this may provide some immediate comfort, it is  still important to move to HMAC-SHA256 soon if you are using HMAC-MD5.</p>
<p>In contrast, MD5 with secret suffix is completely compromised due to collisions, especially with the <a href="http://www.win.tue.nl/hashclash/ChosenPrefixCollisions/">recent advance in chosen-prefix collisions</a>. Currently, this takes about <a href="http://cryptography.hyperlink.cz/MD5_collisions.html">30 seconds on a laptop</a>. To repeat, under no circumstances should you use an arbitrary hash construction instead of HMAC, and MD5 with secret suffix is completely broken. If you were putting off moving away from MD5(m &#124;&#124; k), now would be an excellent time to move to HMAC-SHA256.</p>
<p>Thanks go to Trevor Perrin and Peter Gutmann for comments on this article.</p>
<p>[1] This is not true for longer messages. Multicollisions can be used against each block of a longer message. See the work by <a href="http://eprint.iacr.org/2004/304">Kelsey and Schneier</a> and <a href="www.iacr.org/archive/crypto2004/31520306/multicollisions.pdf ">Joux</a> for more details.</p>
<p>[2] This is a very broad statement about HMAC. A more detailed analysis of its security will have to wait for another post.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Generating EC parameters]]></title>
<link>http://cryptocode.wordpress.com/2009/10/29/generating-ec-parameters/</link>
<pubDate>Thu, 29 Oct 2009 14:12:20 +0000</pubDate>
<dc:creator>CG</dc:creator>
<guid>http://cryptocode.wordpress.com/2009/10/29/generating-ec-parameters/</guid>
<description><![CDATA[&#8230; is not as easy as generating random numbers. P1363 Section 1.9.5 mention that The most diffi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>&#8230; is not as easy as generating random numbers.</p>
<p>P1363 Section 1.9.5 mention that</p>
<blockquote><p>The most difficult part of generating EC parameters is finding a base point of prime order</p></blockquote>
<p>So the next things to do is finding a random point in an elliptic curve (prime case A.11.1/binary case A.11.2), and use A.2.5 to find a square root modulo p and use A.2.1 to calculate modular exponentiation.</p>
<p>In the text book, algorithm for elliptic curve key pair generation is only 5 lines. But implementing one line requires many hours understanding P1363.</p>
<p>Now let&#8217;s start with A.2.1.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Short-Term and Long-Term Academic Utility (guest post)]]></title>
<link>http://jonkatz.wordpress.com/2009/10/29/short-term-and-long-term-academic-utility-guest-post/</link>
<pubDate>Thu, 29 Oct 2009 11:20:07 +0000</pubDate>
<dc:creator>jonkatz</dc:creator>
<guid>http://jonkatz.wordpress.com/2009/10/29/short-term-and-long-term-academic-utility-guest-post/</guid>
<description><![CDATA[Another guest post by Yehuda Lindell. My reaction will be in a follow-up post. Recently I thought ab]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Another guest post by Yehuda Lindell. My reaction will be in a follow-up post.</p>
<p>Recently I thought about applying game-theoretic principles to our work as academics. What are our utility functions and how are they maximized? I have the following observations (if you don’t detect the cynicism below then this is a problem with written media):
<ol>
<li>The first observation is that the “best strategy” is to write papers that are just good enough to get into the conference that you want, but no better. This way you minimize your work while maximizing your publications. “Best paper prizes” can somewhat improve this situation, but it’s not clear that going for “best paper” is a good strategy (it involves much more work, decisions about best paper are rather arbitrary so the chances of winning aren’t that great, and it doesn’t make much of a difference for promotion).
<li>	The second observation is that you should spend as little time as possible writing. That is, your presentation should be as bad as is possible to have it accepted. Once again, wasting loads of time writing well just reduces your publication count.
<li>	If your university doesn’t require that you have journal papers, then not only should you not write such papers, you also shouldn’t bother writing up full versions with full proofs. Specifically, write proof sketches that are “just good enough” to convince the program committee and don’t bother fully verifying. It helps to repeatedly use “the full proof will appear in the full version”, but then make sure that you never actually write such a version.
<li>	I’m sure that one can argue that it’s best to research “easy questions” than hard ones and so on, but I’m not going to relate to this.
<li>	Finally, you should definitely not waste time writing a book. It seems that a book is considered a nice addition, but 5 papers would probably do more for your promotion.
</ol>
<p>So, what’s the result of all of the above? You’ll have a nice long CV full of papers that no one will want to read, let alone follow up on. Is it really worth it? After 25 years of research, will you be able to look back and say that you had an impact? What about publishing 1-2 really good papers a year? I personally believe that this will yield much more satisfaction and impact. (I actually did this exercise and looked back over the last 5 years and asked myself how many papers that I published I actually really like and think had a real contribution. I reached the conclusion of 1-2 papers a year, so I’m happy with that. One could always ask me why I bothered doing the others. First, you don’t always know how things will turn out, and there are other reasons. But I don’t want to get too personal with myself <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  .)</p>
<p>I also argue that the strategy above of doing as bad a job as possible without being detected (which is really what 1-5 lead to) may “make sense” for researchers who are very borderline and may not get tenure. However, for all the rest of the community, it makes no sense whatsoever. I would rather publish much less, but have people be happy to read my papers because they have full proofs and are easy to read. What I would really like to argue is that researchers who don’t need to follow the above strategies (and let’s hope that this is the vast majority) should make sure not to get pulled into such behavior. I strongly believe that it will raise your long-term utility!</p>
<p>Unfortunately, in my humble opinion there are too many people who do. Just for one example, I know of a number of great researchers with excellent papers and results that are ridiculously hard to read (and of course do not have full versions). I guess that this is my loss, because I usually don’t read such papers, but I assume that I’m not the only one…</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[.kolmapäev]]></title>
<link>http://hundiorg.wordpress.com/2009/10/28/kolmapaev-3/</link>
<pubDate>Wed, 28 Oct 2009 18:46:12 +0000</pubDate>
<dc:creator>Nirti</dc:creator>
<guid>http://hundiorg.wordpress.com/2009/10/28/kolmapaev-3/</guid>
<description><![CDATA[Huzzah! Nüüd on homme, ülehomme ka vabad, vahenädal ikkagi! Reedel hääletan koos L.-ga Kassi sünnipä]]></description>
<content:encoded><![CDATA[Huzzah! Nüüd on homme, ülehomme ka vabad, vahenädal ikkagi! Reedel hääletan koos L.-ga Kassi sünnipä]]></content:encoded>
</item>
<item>
<title><![CDATA[Video on Homomorphic Encryption and IBM Research]]></title>
<link>http://jonkatz.wordpress.com/2009/10/23/video-on-homomorphic-encryption-and-ibm-research/</link>
<pubDate>Fri, 23 Oct 2009 21:19:24 +0000</pubDate>
<dc:creator>jonkatz</dc:creator>
<guid>http://jonkatz.wordpress.com/2009/10/23/video-on-homomorphic-encryption-and-ibm-research/</guid>
<description><![CDATA[Via Luca, a nice video on the IBM crypto group and homomorphic encryption. (Yes, the lunches are rea]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Via <a href="http://lucatrevisan.wordpress.com/2009/10/23/homomorphic-encryption/">Luca</a>, a nice video on the IBM crypto group and homomorphic encryption. (Yes, the lunches are really like that!)</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Israelis to boycott Turkish resorts and coffee]]></title>
<link>http://siyasipakistan.wordpress.com/2009/10/22/israelis-to-boycott-turkish-resorts-and-coffee/</link>
<pubDate>Thu, 22 Oct 2009 04:51:03 +0000</pubDate>
<dc:creator>agaahipk</dc:creator>
<guid>http://siyasipakistan.wordpress.com/2009/10/22/israelis-to-boycott-turkish-resorts-and-coffee/</guid>
<description><![CDATA[by: Daily.Pk As most of ‘political aware’ persons know – Zionist regime is well-known for its self-d]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>by: <strong><a href="http://www.daily.pk/israelis-to-boycott-turkish-resorts-and-coffee-12400/">Daily.Pk</a></strong></p>
<p style="outline-width:0;outline-style:initial;outline-color:initial;font-size:14px;vertical-align:baseline;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:transparent;background-position:initial initial;border:0 initial initial;margin:0;padding:0 0 15px;">As most of ‘political aware’ persons know – Zionist regime is well-known for its self-denial – even if the truth about its Zionazi policies comes from respected Jewish individulas, such as South African Jewish judge, Goldstone.</p>
<p style="outline-width:0;outline-style:initial;outline-color:initial;font-size:14px;vertical-align:baseline;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:transparent;background-position:initial initial;border:0 initial initial;margin:0;padding:0 0 15px;">In response to Ankara’s non-stop rubbing of Zionist noses (read it as ‘anti-Semitism’) – Israel’s national airline EIAI has decided to stop subsiding its employees visiting Turkey during the Passover holidays – during which over 80,000 Israeli Jews visit Turkey and spread their immoral culture.</p>
<p style="outline-width:0;outline-style:initial;outline-color:initial;font-size:14px;vertical-align:baseline;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:transparent;background-position:initial initial;border:0 initial initial;margin:0;padding:0 0 15px;">Israel’s major coffee shop chain, IIan, too has decided to join the boycott, according to its director of marketing, Michael Steg, saying: “We have for the time being to stop selling ‘Istambul Coffee’ – our Turkish coffee blend, and we shall keep doing it until matters improve – the airing of Turkish TV drama Ayrilik (Farewell) showing Israeli soldiers as child-killers during Israel’s ‘Operation Cast Lead’ against 1.5 million Palestinians trapped inside Gaza Strip.</p>
<p style="outline-width:0;outline-style:initial;outline-color:initial;font-size:14px;vertical-align:baseline;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:transparent;background-position:initial initial;border:0 initial initial;margin:0;padding:0 0 15px;">Ankara’s recent actions against its old ally – which Zionist-controlled media keeps ignoring – has nothing to do with the so-called ‘anti-Semitism’. It’s as Professor Ephraim Inbar (Bar-IIan University) put it: “Someone has decided to teach Israel a lesson”. Recently, Tel Aviv turned down Turkish Foreign Minister Ahmet Davutoglu’s request to visit Gaza strip and meet Hamas government leaders to negotiate a sort of fair deal between Israeli government and Hamas. Earlier, the reason why the Turkish PM Erdogan blasted Israeli president Shimon Peres at Davos conference – was that Israeli PM Ehud Olmert met Erdogan in Istanbul a few days before Israeli attack on Gaza in December 2008 – and “betrayed” Erdogan, who was conveying messages on phone between Olmer and Damascus (Turkey, then, was playing the part of a negotiator on Israeli request). Israel also infuriated Turkish generals by delaying the delivery of the pre-paid Heron unmanned aviation vehicles (UAV) – and 2008 failed coup against Erdogan government.</p>
<p style="outline-width:0;outline-style:initial;outline-color:initial;font-size:14px;vertical-align:baseline;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:transparent;background-position:initial initial;border:0 initial initial;margin:0;padding:0 0 15px;">“Things have changed. In Davutoglu’s idealogical framework, Israel soesn’t play a central role,” – Ofra Bengio, an expert on Turkey at the Moshe Dayan Center for Middle Eastern and African Studies at Tel Aviv University.</p>
<p style="outline-width:0;outline-style:initial;outline-color:initial;font-size:14px;vertical-align:baseline;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:transparent;background-position:initial initial;border:0 initial initial;margin:0;padding:0 0 15px;">According to Israeli daily Ha’aretz, Turkey is the most popular foreign destination for Israel tourists representing 13% of all departures and generating US$300 million in annual revenue. More than 500,000 Israeli Jews visit Turkey each year for beaches and cheap shopping. Yossi Fattal, head of Israel Tourist and Travel Agent Association, said that travellers’ boycott is unprecedented in Israel (since Peres’ outbusrt against Erdogan at Davos). He believes, however, that the impact will not be as severe as it appears now. “Israeli memory isn’t very long – half a year is like an ice age and the memory will fade.”</p>
<p style="outline-width:0;outline-style:initial;outline-color:initial;font-size:14px;vertical-align:baseline;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:transparent;background-position:initial initial;border:0 initial initial;margin:0;padding:0 0 15px;">Now, how much impact the Israeli (population 7 million) boycott would have on Turkey (70 million) – would be interesting to watch. Turkey is home to over 26,000 Jews (second largest Jewish community in a Muslim-majority country – after Islamic Iran). Turkish Jews are (96% Sephardic, and the rest Ashkenazi and Kurds. However, they have carried immense power in the secular Turkey since WW I – as Christopher Jon Bjerknes wrote:</p>
<p style="outline-width:0;outline-style:initial;outline-color:initial;font-size:14px;vertical-align:baseline;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:transparent;background-position:initial initial;border:0 initial initial;margin:0;padding:0 0 15px;">“Long before the ‘cultural revolution’ of communist china, and starting before the Bolshevik Jews of Russia destroyed Christianity and Christians in the Slavik World, the Doenmeh (the secret Jews of Turkey) and especially Mustafa Kemal (Attaturk), tried very hard to strip Turkey of its religion and its culture. It’s vital to World Jewry to prevent the Muslims of Turkey from taking back their nation and their faith and aligning themselves with their Muslim neighbours.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[El-Gamal with Pari]]></title>
<link>http://cryptocode.wordpress.com/2009/10/21/el-gamal-with-pari/</link>
<pubDate>Wed, 21 Oct 2009 15:14:24 +0000</pubDate>
<dc:creator>CG</dc:creator>
<guid>http://cryptocode.wordpress.com/2009/10/21/el-gamal-with-pari/</guid>
<description><![CDATA[Encrypt &#8211; decrypt successful.]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="alignleft size-full wp-image-994" title="Picture 3" src="http://cryptocode.wordpress.com/files/2009/10/picture-3.png" alt="Picture 3" width="345" height="341" />Encrypt &#8211; decrypt successful.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Mozilla's Weave and cryptography.]]></title>
<link>http://abrown969.wordpress.com/2009/10/21/mozillas-weave-and-cryptography/</link>
<pubDate>Wed, 21 Oct 2009 12:20:59 +0000</pubDate>
<dc:creator>abrown969</dc:creator>
<guid>http://abrown969.wordpress.com/2009/10/21/mozillas-weave-and-cryptography/</guid>
<description><![CDATA[Recently I had delved into the source code of Mozilla&#8217;s Weave (the firefox extension part) to ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Recently I had delved into the source code of Mozilla&#8217;s Weave (the firefox extension part) to check how things are done. I did that because in the recent years, I never found a way to sync different parts of my digital life in a painless way and as a result I&#8217;m always in the look for new tools/products that might ease my pain (explaining why nothing works for me, will be analyzed in a different post). </p>
<p>So, during my adventures with the Weave extension, I stumbled upon the &#8220;crypto&#8221; directory:</p>
<p><code>[abrown@bifteki]weave $ pwd<br />
/usr/home/abrown/clones/weave<br />
[abrown@bifteki]weave $ ls -1<br />
Makefile<br />
README<br />
crypto/<br />
source/<br />
tests/<br />
tools/<br />
</code></p>
<p>Unfortunately, I didn&#8217;t even try building the component due to lack of time. But before bringing my little exploration to a halt, I tried to find some more information about how their cryptography module is utilized by the Weave extension but I didn&#8217;t had any luck. However, after a month or so, a friend of mine passed me this wonderful link:<br />
<a href="http://www.kix.in/blog/2009/10/how-does-weave-use-cryptography">How does Weave use Cryptography?</a></p>
<p>Really a very nice article explaining Weave&#8217;s crypto scheme. Thanks!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Database]]></title>
<link>http://strangealaska.wordpress.com/2009/10/21/database/</link>
<pubDate>Wed, 21 Oct 2009 00:22:10 +0000</pubDate>
<dc:creator>jessiedesmond</dc:creator>
<guid>http://strangealaska.wordpress.com/2009/10/21/database/</guid>
<description><![CDATA[I&#8217;ve added a database that we can all update. It&#8217;s currently still in the works. Right n]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve added a database that we can all update.  It&#8217;s currently still in the works.  Right now I only have UFO, Hauntings, and Cryptids for categories, but I plan on adding a Religious section and a Mysterious Locations section.</p>
<p><strong>You can update it</strong>, but you have to sign up as a contributor.  If you need me to re-send you the invite, you have to let me know.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Eurocrypt deadline today; partial fairness]]></title>
<link>http://jonkatz.wordpress.com/2009/10/20/eurocrypt-deadline-today-partial-fairness/</link>
<pubDate>Tue, 20 Oct 2009 19:09:29 +0000</pubDate>
<dc:creator>jonkatz</dc:creator>
<guid>http://jonkatz.wordpress.com/2009/10/20/eurocrypt-deadline-today-partial-fairness/</guid>
<description><![CDATA[The Eurocrypt deadline is today, which gives me an excuse to talk about a recent paper of mine that ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The <a href="http://crypto.rd.francetelecom.com/events/eurocrypt2010/">Eurocrypt</a> deadline is today, which gives me an excuse to talk about a recent paper of mine that I had <a href="http://jonkatz.wordpress.com/2009/07/10/when-is-life-fair/">been promising</a> to talk about <a href="http://jonkatz.wordpress.com/2009/06/25/what-is-wrong-with-focs/">for a while</a>. </p>
<p>In the setting of distributed computation, a protocol is <em>fair</em> if all parties receive their outputs even in the event of malicious behavior by some of the other parties (in particular, even if they abort the protocol early). Unfortunately, Cleve showed in 1986 that complete fairness is impossible &#8212; even for some very simple functions &#8212; whenever an honest majority is not present. In particular, fairness is impossible, in general, in the two-party setting. (Although complete fairness turns out to be possible for some non-trivial functions, as discussed <a href="http://jonkatz.wordpress.com/2009/07/10/when-is-life-fair/">here</a>.)</p>
<p>As such, there has been a significant amount of work trying to achieve <em>partial</em> fairness. I won&#8217;t survey all this work here; instead, I will just note that (1) several papers on the topic don&#8217;t give <em>any</em> formal definition of what they are trying to achieve; (2) a few papers give definitions that are either ad-hoc, or are not very easy to understand (to put it mildly); (3) protocols suggested in many of the papers have significant drawbacks. </p>
<p>Expanding a little on this last point, one line of work has studied protocols guaranteeing something of the following form: at any point in the protocol, the computational efforts required by each party to recover their output are within a constant factor of each other. While at first appealing, one severe drawback of this approach is that it leaves ambiguous what the honest party is supposed to do in case of an abort! If the honest party always tries to recover its output, then it can be forced to run for exponential time. On the other hand, if there is some cut-off round before which point the honest party does not invest the time to recover its output, then the adversary can always abort the protocol just before that point.</p>
<p>In a recent paper by Dov Gordon and myself, we suggest for the first time a <em>simulation-based</em> definition of partial fairness within the standard real/ideal world paradigm. (A slightly outdated version of our paper is available <a href="http://eprint.iacr.org/2008/206">here</a>.) Our definition is as follows: we take the usual ideal-world model (used when defining secure computation with complete fairness) and require that the real-world execution of the protocol and this ideal world be indistinguishable <em>up to to an additive distance of <img src='http://l.wordpress.com/latex.php?latex=1%2Fp&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1/p' title='1/p' class='latex' /></em> (for some specified polynomial <img src='http://l.wordpress.com/latex.php?latex=p&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p' title='p' class='latex' />). We refer to this notion as &#8220;<img src='http://l.wordpress.com/latex.php?latex=1%2Fp&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1/p' title='1/p' class='latex' />-security&#8221;. Note that <img src='http://l.wordpress.com/latex.php?latex=1%2Fp&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1/p' title='1/p' class='latex' />-security is technically incomparable to (but intuitively more appealing than) the standard approach (&#8220;security with abort&#8221;), which <em>weakens</em> the ideal model to one where fairness is not guaranteed at all but requires full-fledged computational indistinguishability (with respect to this weaker ideal model). Also, although the definition of <img src='http://l.wordpress.com/latex.php?latex=1%2Fp&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1/p' title='1/p' class='latex' />-security allows privacy to be violated with probability <img src='http://l.wordpress.com/latex.php?latex=1%2Fp&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1/p' title='1/p' class='latex' />, in fact all our protocols are completely private. (Some of them will also be secure with abort.)</p>
<p>In addition to introducing this new definition, we also completely settle the question of feasibility of partial fairness (with respect to this definition) in the two-party setting. Namely, we show:</p>
<p><b>Positive results:</b><br />
Let <img src='http://l.wordpress.com/latex.php?latex=f%3A+X+%5Ctimes+Y+%5Crightarrow+Z+%5Ctimes+Z%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f: X \times Y \rightarrow Z \times Z&#039;' title='f: X \times Y \rightarrow Z \times Z&#039;' class='latex' /> be a (randomized) functionality, where player 1 provides input <img src='http://l.wordpress.com/latex.php?latex=x+%5Cin+X&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='x \in X' title='x \in X' class='latex' /> and receives output <img src='http://l.wordpress.com/latex.php?latex=z+%5Cin+Z&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z \in Z' title='z \in Z' class='latex' />, and player 2 provides input <img src='http://l.wordpress.com/latex.php?latex=y+%5Cin+Y&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='y \in Y' title='y \in Y' class='latex' /> and receives output <img src='http://l.wordpress.com/latex.php?latex=z%27+%5Cin+Z%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='z&#039; \in Z&#039;' title='z&#039; \in Z&#039;' class='latex' />. </p>
<ol>
<li>As long as one of <img src='http://l.wordpress.com/latex.php?latex=X%2C+Y&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X, Y' title='X, Y' class='latex' /> is polynomial-size, then for any polynomial <img src='http://l.wordpress.com/latex.php?latex=p&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p' title='p' class='latex' /> there is a protocol computing <img src='http://l.wordpress.com/latex.php?latex=f&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f' title='f' class='latex' /> that is both <img src='http://l.wordpress.com/latex.php?latex=1%2Fp&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1/p' title='1/p' class='latex' />-secure and secure-with-abort.
<li>As long as one of <img src='http://l.wordpress.com/latex.php?latex=Z%2C+Z%27&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='Z, Z&#039;' title='Z, Z&#039;' class='latex' /> is polynomial-size, then for any polynomial <img src='http://l.wordpress.com/latex.php?latex=p&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='p' title='p' class='latex' /> there is a protocol computing <img src='http://l.wordpress.com/latex.php?latex=f&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f' title='f' class='latex' /> that is <img src='http://l.wordpress.com/latex.php?latex=1%2Fp&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1/p' title='1/p' class='latex' />-secure.
</ol>
<p><b>Negative results:</b><br />
Our negative results show that the above are optimal:</p>
<ol>
<li>There is a (deterministic) function <img src='http://l.wordpress.com/latex.php?latex=f%3A+X+%5Ctimes+Y+%5Crightarrow+Z&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f: X \times Y \rightarrow Z' title='f: X \times Y \rightarrow Z' class='latex' /> where each of <img src='http://l.wordpress.com/latex.php?latex=X%2C+Y&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X, Y' title='X, Y' class='latex' /> have super-polynomial size, such that there is no protocol computing <img src='http://l.wordpress.com/latex.php?latex=f&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f' title='f' class='latex' /> that is both <img src='http://l.wordpress.com/latex.php?latex=1%2F4&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1/4' title='1/4' class='latex' />-secure and secure-with-abort.
<li>There is a (deterministic) function <img src='http://l.wordpress.com/latex.php?latex=f%3A+X+%5Ctimes+Y+%5Crightarrow+Z&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f: X \times Y \rightarrow Z' title='f: X \times Y \rightarrow Z' class='latex' /> where each of <img src='http://l.wordpress.com/latex.php?latex=X%2C+Y%2C+Z&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='X, Y, Z' title='X, Y, Z' class='latex' /> have super-polynomial size, such that there is no protocol computing <img src='http://l.wordpress.com/latex.php?latex=f&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='f' title='f' class='latex' /> that is <img src='http://l.wordpress.com/latex.php?latex=1%2F2&#038;bg=ffffff&#038;fg=000000&#038;s=0' alt='1/2' title='1/2' class='latex' />-secure.
</ol>
<h2>Open questions:</h2>
<p>This line of work (continuing the earlier work on complete fairness) is among my favorites of the things I&#8217;ve worked on recently. Fairness is a natural and basic problem that we still don&#8217;t fully understand; questions in the area are easily accessible, yet resolving these questions is difficult and seems to require new techniques. Several compelling questions remain; here are some of my favorites:</p>
<ul>
<li>Partial fairness in the <em>multi-party setting</em> is wide open. The only positive results I am aware of (besides those functions for which complete fairness is possible) are for coin tossing, and the only negative results I know about are those that can be derived as extensions of the impossibility results from the two-party case.
<li>Determining the exact <em>round complexity</em> of protocols achieving fairness or partial fairness seems interesting &#8212; not just in its own right, but because I suspect it will shed light on the issue of fairness itself. The round complexity of partially fair, two-party coin tossing was recently resolved by Moran, Naor, and Segev; other than that, the question is completely open.
</ul>
</div>]]></content:encoded>
</item>

</channel>
</rss>
