summaryrefslogtreecommitdiff
path: root/pipermail/pycrypto/attachments/20111021/99fa5bbc/attachment.html
diff options
context:
space:
mode:
Diffstat (limited to 'pipermail/pycrypto/attachments/20111021/99fa5bbc/attachment.html')
-rw-r--r--pipermail/pycrypto/attachments/20111021/99fa5bbc/attachment.html85
1 files changed, 85 insertions, 0 deletions
diff --git a/pipermail/pycrypto/attachments/20111021/99fa5bbc/attachment.html b/pipermail/pycrypto/attachments/20111021/99fa5bbc/attachment.html
new file mode 100644
index 0000000..73061fb
--- /dev/null
+++ b/pipermail/pycrypto/attachments/20111021/99fa5bbc/attachment.html
@@ -0,0 +1,85 @@
+<tt>
+&lt;html&nbsp;xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot;&nbsp;xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot;&nbsp;xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot;&nbsp;xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot;&nbsp;xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;<br>
+<br>
+&lt;head&gt;<br>
+&lt;meta&nbsp;http-equiv=Content-Type&nbsp;content=&quot;text/html;&nbsp;charset=us-ascii&quot;&gt;<br>
+&lt;meta&nbsp;name=Generator&nbsp;content=&quot;Microsoft&nbsp;Word&nbsp;12&nbsp;(filtered&nbsp;medium)&quot;&gt;<br>
+&lt;style&gt;<br>
+&lt;!--<br>
+&nbsp;/*&nbsp;Font&nbsp;Definitions&nbsp;*/<br>
+&nbsp;@font-face<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{font-family:&quot;Cambria&nbsp;Math&quot;;<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsppanose-1:2&nbsp;4&nbsp;5&nbsp;3&nbsp;5&nbsp;4&nbsp;6&nbsp;3&nbsp;2&nbsp;4;}<br>
+@font-face<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{font-family:Calibri;<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsppanose-1:2&nbsp;15&nbsp;5&nbsp;2&nbsp;2&nbsp;2&nbsp;4&nbsp;3&nbsp;2&nbsp;4;}<br>
+&nbsp;/*&nbsp;Style&nbsp;Definitions&nbsp;*/<br>
+&nbsp;p.MsoNormal,&nbsp;li.MsoNormal,&nbsp;div.MsoNormal<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{margin:0in;<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspmargin-bottom:.0001pt;<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfont-size:11.0pt;<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfont-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;}<br>
+a:link,&nbsp;span.MsoHyperlink<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{mso-style-priority:99;<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspcolor:blue;<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsptext-decoration:underline;}<br>
+a:visited,&nbsp;span.MsoHyperlinkFollowed<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{mso-style-priority:99;<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspcolor:purple;<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsptext-decoration:underline;}<br>
+span.EmailStyle17<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{mso-style-type:personal-compose;<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspfont-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspcolor:windowtext;}<br>
+.MsoChpDefault<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{mso-style-type:export-only;}<br>
+@page&nbsp;Section1<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{size:8.5in&nbsp;11.0in;<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspmargin:1.0in&nbsp;1.0in&nbsp;1.0in&nbsp;1.0in;}<br>
+div.Section1<br>
+&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{page:Section1;}<br>
+--&gt;<br>
+&lt;/style&gt;<br>
+&lt;!--[if&nbsp;gte&nbsp;mso&nbsp;9]&gt;&lt;xml&gt;<br>
+&nbsp;&lt;o:shapedefaults&nbsp;v:ext=&quot;edit&quot;&nbsp;spidmax=&quot;1026&quot;&nbsp;/&gt;<br>
+&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if&nbsp;gte&nbsp;mso&nbsp;9]&gt;&lt;xml&gt;<br>
+&nbsp;&lt;o:shapelayout&nbsp;v:ext=&quot;edit&quot;&gt;<br>
+&nbsp;&nbsp;&lt;o:idmap&nbsp;v:ext=&quot;edit&quot;&nbsp;data=&quot;1&quot;&nbsp;/&gt;<br>
+&nbsp;&lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;<br>
+&lt;/head&gt;<br>
+<br>
+&lt;body&nbsp;lang=EN-US&nbsp;link=blue&nbsp;vlink=purple&gt;<br>
+<br>
+&lt;div&nbsp;class=Section1&gt;<br>
+<br>
+&lt;p&nbsp;class=MsoNormal&gt;This&nbsp;isn't&nbsp;a&nbsp;pycrypto&nbsp;question&nbsp;per&nbsp;se,&nbsp;but&nbsp;I&nbsp;thought&nbsp;someone<br>
+might&nbsp;know&nbsp;the&nbsp;answer:&nbsp;I&nbsp;need&nbsp;to&nbsp;exclusive-OR&nbsp;two&nbsp;strings&nbsp;together.&amp;nbsp;&nbsp;I<br>
+tried&nbsp;operator.XOR,&nbsp;but&nbsp;I&nbsp;get&nbsp;a&nbsp;runtime&nbsp;error:&nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;<br>
+<br>
+&lt;p&nbsp;class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;<br>
+<br>
+&lt;p&nbsp;class=MsoNormal&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&nbsp;ke&nbsp;=&nbsp;operator.xor(kbpkb,ve)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;<br>
+<br>
+&lt;p&nbsp;class=MsoNormal&gt;TypeError:&nbsp;unsupported&nbsp;operand&nbsp;type(s)&nbsp;for&nbsp;^:&nbsp;'str'&nbsp;and<br>
+'str'&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;<br>
+<br>
+&lt;p&nbsp;class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;<br>
+<br>
+&lt;p&nbsp;class=MsoNormal&gt;Is&nbsp;there&nbsp;a&nbsp;way&nbsp;to&nbsp;do&nbsp;this&nbsp;in&nbsp;native&nbsp;Python&nbsp;(I'm&nbsp;using&nbsp;2.7.2),<br>
+or&nbsp;must&nbsp;I&nbsp;use&nbsp;a&nbsp;library&nbsp;of&nbsp;some&nbsp;sort?&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;<br>
+<br>
+&lt;p&nbsp;class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;<br>
+<br>
+&lt;p&nbsp;class=MsoNormal&gt;Thanks,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;<br>
+<br>
+&lt;p&nbsp;class=MsoNormal&gt;dpm&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;<br>
+<br>
+&lt;p&nbsp;class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;<br>
+<br>
+&lt;/div&gt;<br>
+<br>
+&lt;/body&gt;<br>
+<br>
+&lt;/html&gt;<br>
+
+</tt>