All empty double-quoted strings replaced with single-quotes
[core.git] / inc / classes / main / crypto / class_CryptoHelper.php
index 0456e10dae2e1f8cb3c5a0929f9a1d7e66def337..bc1c191f8be96b1f189e1c36f2550b50d8bb1b68 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007 - 2009 Roland Haeder, this is free software
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -39,7 +39,7 @@ class CryptoHelper extends BaseFrameworkSystem implements Cryptable {
        /**
         * Salt for hashing operations
         */
-       private $salt = "";
+       private $salt = '';
 
        /**
         * Protected constructor
@@ -126,7 +126,7 @@ class CryptoHelper extends BaseFrameworkSystem implements Cryptable {
         * @param       $oldHash        A hash from previous hashed string
         * @return      $hashed         The hashed and salted string
         */
-       public function hashString ($str, $oldHash = "") {
+       public function hashString ($str, $oldHash = '') {
                // Cast the string
                $str = (string) $str;