State (see State Pattern) prepared, a lot reworked/refactured
[core.git] / inc / classes / main / crypto / class_CryptoHelper.php
index c135b18971cdf4bb0f75d154d24d5c212765b678..db35284416ecb4011caa28f565c43f455dfcc56d 100644 (file)
@@ -54,10 +54,6 @@ class CryptoHelper extends BaseFrameworkSystem implements Cryptable {
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Clean up a little
-               $this->removeNumberFormaters();
-               $this->removeSystemArray();
        }
 
        /**
@@ -187,7 +183,7 @@ class CryptoHelper extends BaseFrameworkSystem implements Cryptable {
         */
        public function encryptString ($str) {
                // Encrypt the string through the stream
-               $encryted = $this->cryptoStreamInstance->encryptStream($str);
+               $encrypted = $this->cryptoStreamInstance->encryptStream($str);
 
                // Return the string
                return $encrypted;