public function encrypt($value, $iv = null)
    {
        if(empty($value))
            return false;
        
        include_once PATH_SYSTEM . '/vendors/phpseclib0/Crypt/Rijndael.php';
        include_once PATH_SYSTEM . '/vendors/phpseclib0/Crypt/AES.php';

        $this->Crypt = new Crypt_AES();
        $this->Crypt->setKey($this->key);
        if (!is_null($iv))
            $this->Crypt->setIV($iv);
        return $this->Crypt->encrypt($value);
    }