summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--user_guide/helpers/security_helper.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/user_guide/helpers/security_helper.html b/user_guide/helpers/security_helper.html
index 7649fe779..2fc8f6dc6 100644
--- a/user_guide/helpers/security_helper.html
+++ b/user_guide/helpers/security_helper.html
@@ -80,14 +80,14 @@ Security Helper
<a href="../libraries/input.html">Input class</a>. More info can be found there.</p>
-<h2>hash()</h2>
+<h2>dohash()</h2>
<p>Permits you to create SHA1 or MD5 one way hashes suitable for encrypting passwords. Will create SHA1 by default. Examples:</p>
<code>
-$str = hash($str); // SHA1<br />
+$str = dohash($str); // SHA1<br />
<br />
-$str = hash($str, 'md5'); // MD5
+$str = dohash($str, 'md5'); // MD5
</code>