[pycrypto] Create a Digital Signature (DER Encoded PKCS#1) - SHA1withRSA
Dwayne C. Litzenberger
dlitz at dlitz.net
Wed Dec 29 00:41:17 CST 2010
I'll have to look at this when I get back from my vacation. Maybe file a bug report, or add a comment to an existing report if there is one already?
"Anurag Chourasia" <anurag.chourasia at gmail.com> wrote:
>Thanks for the information. I believe that the patch that you mentioned
>help me :-)
>The patch mentioned in your email was from January 2010 and is in the
>of a diff between files.
>Are we supposed to make those modifications manually or is there a
>downloadable somewhere? I am wondering if there is any specific reason
>the change is not a part of the mainstream that a user like me should
>aware of or better if the files are going to be included in the Trunk
>anytime soon :-)
>Thanks again for your help today.
>On Wed, Dec 29, 2010 at 3:39 AM, Thorsten Behrens <sbehrens at gmx.li>
>> >> It wasn't for Home Work :-)
>> Okay :D
>> > m.digest()
>> > or
>> > m.hexdigest() as the computed hash value.
>> That depends on what you want to do next. m.digest() returns the
>> in binary form, ready to be used for further manipulation, such as
>> having it signed. m.hexdigest() returns it in a form suitable for
>> inclusion in a text transmission, such as email.
>> > Following this, how can i use Crypto again to Sign the computed
>> > Value using the Private Key?
>> PKCS #1 has not been integrated into trunk yet. There is a patch
>> available, though, here:
>> pycrypto mailing list
>> pycrypto at lists.dlitz.net
>pycrypto mailing list
>pycrypto at lists.dlitz.net
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
More information about the pycrypto