Call to undefined function hash() in /var/www/site/ problem
<p>I have called hash function in my code like (php version 5.2.14 )</p>

<pre><code>$username =hash("sha256",trim($_POST['username']));
$password =hash("sha256",trim($_POST['password']));
</code></pre>

<p>but I got error like
<strong>Call to undefined function hash() in /var/www/site/</strong>
What to do ?</p>
