diff options
Diffstat (limited to 'user_guide/helpers/security_helper.html')
-rw-r--r-- | user_guide/helpers/security_helper.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/user_guide/helpers/security_helper.html b/user_guide/helpers/security_helper.html index 5732cb7db..dfc813c66 100644 --- a/user_guide/helpers/security_helper.html +++ b/user_guide/helpers/security_helper.html @@ -75,16 +75,17 @@ Security Helper <a href="../libraries/input.html">Input class</a>. More info can be found there.</p> -<h2>dohash()</h2> +<h2>do_hash()</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 = dohash($str); // SHA1<br /> +$str = do_hash($str); // SHA1<br /> <br /> -$str = dohash($str, 'md5'); // MD5 +$str = do_hash($str, 'md5'); // MD5 </code> +<p class="important"><strong>Note:</strong> This function was formerly named <kbd>dohash()</kbd>, which has been deprecated in favour of <kbd>do_hash()</kbd>.</p> |