/code></em>.
    When storing a new password, you need to use
    <code class="function">gen_salt()</code> to generate a new <em class="parameter"><code>salt</code></em> value.
    To check a password, pass the stored hash value as <em class="parameter"><code>salt</code></em>,
    and test whether the result matches the stored value.
   </p><p>
    Example of setting a new password:
</p><pre class="programlisting">
UPDATE ... SET pswhash = crypt('new password', gen_salt('md5'));
</pre><p>
   </p><p>
    Exa