Hi Thorsten,<div><br></div><div>Thanks for the information. I believe that the patch that you mentioned will help me :-)</div><div><br></div><div>The patch mentioned in your email was from January 2010 and is in the form of a diff between files. </div>

<div><br></div><div>Are we supposed to make those modifications manually or is there a downloadable somewhere? I am wondering if there is any specific reason that the change is not a part of the mainstream that a user like me should be aware of or better if the files are going to be included in the Trunk anytime soon :-)</div>

<div><br></div><div>Thanks again for your help today.</div><div><br></div><div>Regards,</div><div>Anurag<br><br><div class="gmail_quote">On Wed, Dec 29, 2010 at 3:39 AM, Thorsten Behrens <span dir="ltr">&lt;<a href="mailto:sbehrens@gmx.li">sbehrens@gmx.li</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"> &gt;&gt; It wasn&#39;t for Home Work :-)<br>
<br>
</div>Okay :D<br>
<div class="im"><br>
&gt;<br>
&gt; m.digest()<br>
&gt; or<br>
&gt; m.hexdigest() as the computed hash value.<br>
<br>
</div>That depends on what you want to do next. m.digest() returns the digest<br>
in binary form, ready to be used for further manipulation, such as<br>
having it signed. m.hexdigest() returns it in a form suitable for<br>
inclusion in a text transmission, such as email.<br>
<div class="im"><br>
&gt; Following this, how can i use Crypto again to Sign the computed Hash<br>
&gt; Value using the Private Key?<br>
&gt;<br>
</div>PKCS #1 has not been integrated into trunk yet. There is a patch<br>
available, though, here: <a href="https://bugs.launchpad.net/pycrypto/+bug/502291" target="_blank">https://bugs.launchpad.net/pycrypto/+bug/502291</a><br>
<div><div></div><div class="h5"><br>
Thorsten<br>
<br>
_______________________________________________<br>
pycrypto mailing list<br>
<a href="mailto:pycrypto@lists.dlitz.net">pycrypto@lists.dlitz.net</a><br>
<a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto" target="_blank">http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto</a><br>
</div></div></blockquote></div><br></div>