diff options
Diffstat (limited to 'pipermail/pycrypto/attachments/20101229/02b70f36/attachment-0001.htm')
-rw-r--r-- | pipermail/pycrypto/attachments/20101229/02b70f36/attachment-0001.htm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pipermail/pycrypto/attachments/20101229/02b70f36/attachment-0001.htm b/pipermail/pycrypto/attachments/20101229/02b70f36/attachment-0001.htm new file mode 100644 index 0000000..8e0af40 --- /dev/null +++ b/pipermail/pycrypto/attachments/20101229/02b70f36/attachment-0001.htm @@ -0,0 +1,36 @@ +<tt> +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><br> +<br> +<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><br> +<br> +<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><br> +<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> +<br><br> +</div>Okay :D<br><br> +<div class="im"><br><br> +&gt;<br><br> +&gt; m.digest()<br><br> +&gt; or<br><br> +&gt; m.hexdigest() as the computed hash value.<br><br> +<br><br> +</div>That depends on what you want to do next. m.digest() returns the digest<br><br> +in binary form, ready to be used for further manipulation, such as<br><br> +having it signed. m.hexdigest() returns it in a form suitable for<br><br> +inclusion in a text transmission, such as email.<br><br> +<div class="im"><br><br> +&gt; Following this, how can i use Crypto again to Sign the computed Hash<br><br> +&gt; Value using the Private Key?<br><br> +&gt;<br><br> +</div>PKCS #1 has not been integrated into trunk yet. There is a patch<br><br> +available, though, here: <a href="https://bugs.launchpad.net/pycrypto/+bug/502291" target="_blank">https://bugs.launchpad.net/pycrypto/+bug/502291</a><br><br> +<div><div></div><div class="h5"><br><br> +Thorsten<br><br> +<br><br> +_______________________________________________<br><br> +pycrypto mailing list<br><br> +<a href="mailto:pycrypto@lists.dlitz.net">pycrypto@lists.dlitz.net</a><br><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><br> +</div></div></blockquote></div><br></div><br> + +</tt> |