<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Salt (cryptography) - Page 4 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=salt_(cryptography)&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=salt_%28cryptography%29&amp;p=5">3.Next</a>
</p>
<p>identical hash values, which could make it easier for a hacker to guess the passwords from their hash value.</p>

<p>Instead, a salt is generated and appended to each password, which causes the resultant hash to output different values for the same original password.</p>

<p>The salt and hash are then stored in the database. To later test if a password a user enters is correct, the same process can be performed on it (appending that user's salt to the password and calculating the resultant hash): if the result does not match the stored hash,</p><p>
<a accesskey="1" href="page.php?w=salt_(cryptography)&amp;p=3">1.Previous</a><br />
<a accesskey="3" href="page.php?w=salt_%28cryptography%29&amp;p=5">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
