title: Generating Large Prime Numbers with Py Crypto
body: <p>I'm trying to generate a large prime number (2048 bits) using the crypto library in python in order to implement RSA.  However, I do not really understand the syntax of the <code>getPrime()</code> function.  I currently have:</p>
  
  <pre><code>from Crypto.Util import number
  
  n_length = 2048
  
  primeNum = number.getPrime(n_length, randFunc)
  </code></pre>
  
  <p>I don't understand what the <code>randFunc</code> is supposed to be in the <code>getPrime</code> function. </p>