Proyectos de Subversion LeadersLinked - Services

Rev

Rev 222 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 222 Rev 223
Línea 105... Línea 105...
105
        
105
        
106
        //Return
106
        //Return
107
        return $str;
107
        return $str;
Línea -... Línea 108...
-
 
108
    }
108
    }
109
    
109
    
110
    /*
110
    static function encryptString($content) {
111
    static function encryptString($content) {
111
        //Set password and iv string here
112
        //Set password and iv string here
112
        $aes = new EasyAES('****************', 128, '################');
113
        $aes = new EasyAES('****************', 128, '################');
Línea 113... Línea 114...
113
        return $aes->encrypt($content);
114
        return $aes->encrypt($content);
114
    }
115
    }
115
    
116
    
116
    static function decryptString($content) {
117
    static function decryptString($content) {
117
        //Set password and iv string here
118
        //Set password and iv string here
118
        $aes = new  EasyAES('****************', 128, '################');
119
        $aes = new  EasyAES('****************', 128, '################');
119
        return $aes->decrypt($content);
120
        return $aes->decrypt($content);