title: I have modulus and private exponent. How to construct RSA private key and sign a message?
body: <p>I am newbie in cryptography and pycrypto. </p>
  
  <p>I have modulus <code>n</code> and private exponent <code>d</code>. From what I understand after reading some docs <em>private key</em> consists of <code>n</code> and <code>d</code>. </p>
  
  <p>I need to sign a message and I can't figure out how to do that using <code>pycrypto</code>. <code>RSA.construct()</code> method accepts a tuple. But I have to additionally provide public exponent <code>e</code> to this method (which I don't have).</p>
  
  <p>So here is my question. Do I have to compute <code>e</code> somehow in order to sign a message?</p>
  
  <p>It seems I should be able to sign a message just by using <code>n</code> and <code>d</code> (that constitute private key). Am I correct? Can I do this with <code>pycrypto</code>?</p>
  
  <p>Thanks in advance.</p>