How can i create encrypt method like md5
<p>Please, any suggestion how to create encrypt method like md5  </p>

<pre><code>$pass = "abc";
$password = xyz($pass);
</code></pre>

<p>Above method i want to create it myself like md5 method</p>

<p>Please any help me, how can i create it. </p>
