Deprecated the dohash() function in favour of do_hash() for naming consistency.
diff --git a/system/helpers/security_helper.php b/system/helpers/security_helper.php
index 9cc70aa..8fb53e7 100644
--- a/system/helpers/security_helper.php
+++ b/system/helpers/security_helper.php
@@ -49,13 +49,29 @@
/**
* Hash encode a string
*
+ * This is simply an alias for do_hash()
+ * dohash() is now deprecated
+ */
+if ( ! function_exists('dohash'))
+{
+ function dohash($str, $type = 'sha1')
+ {
+ return $this->do_hash($str, $type);
+ }
+}
+
+// --------------------------------------------------------------------
+
+/**
+ * Hash encode a string
+ *
* @access public
* @param string
* @return string
*/
-if ( ! function_exists('dohash'))
+if ( ! function_exists('do_hash'))
{
- function dohash($str, $type = 'sha1')
+ function do_hash($str, $type = 'sha1')
{
if ($type == 'sha1')
{