<h1 id="EXAMPLES">EXAMPLES</h1>

<p>Generate and store a 8192 bit password verifier (error handling omitted for clarity):</p>

<pre><code>#include &lt;openssl/bn.h&gt;
#include &lt;openssl/srp.h&gt;

const char *username = &quot;username&quot;;
const char *password = &quot;password&quot;;

SRP_VBASE *srpData = SRP_VBASE_new(NULL);

SRP_gN *gN = SRP_get_default_gN(&quot;8192&quot;);

BIGNUM *salt = NULL, *verifier = NULL;
SRP_create_verifier_BN_ex(username, password, &amp;salt, &amp;verifier, gN-&gt;N, gN-&g