/**
* An instance of this own clas
*/
- private static $selfInstance = null;
+ private static $selfInstance = NULL;
/**
* Instance of the crypto stream
*/
- private $cryptoStreamInstance = null;
+ private $cryptoStreamInstance = NULL;
/**
* Salt for hashing operations
* @param $key Optional key, if none provided, a random key will be generated
* @return $encrypted Encrypted string
*/
- public function encryptString ($str, $key = null) {
+ public function encryptString ($str, $key = NULL) {
// Encrypt the string through the stream
$encrypted = $this->cryptoStreamInstance->encryptStream($str, $key);