[pycrypto] Create a Digital Signature (DER Encoded PKCS#1) - SHA1withRSA

Thorsten Behrens sbehrens at gmx.li
Tue Dec 28 14:02:58 CST 2010


On 12/28/2010 2:44 PM, Anurag Chourasia wrote:
>
> I have a Private key and Public Key which comes in an XML in the 
> following form.
[..]
> Could you please let me know how I could use Crypto to meet this 
> requirement. Appreciate if you could help me with a simple code snippet.
>

Is this homework? :)

If so, I'd give you a hint: Take a good look at the test routines in 
Crypto/Selftest, they are examples of how to use the library.

Thorsten



More information about the pycrypto mailing list