Exemplo n.º 1
0
 function mysql_password()
 {
     //fetch encrypted password
     $encpassword = $this->ini_array['mysql.password'];
     $password = Gloo_Util::b64_decrypt($encpassword);
     return $password;
 }
Exemplo n.º 2
0
Arquivo: hook.php Projeto: rjha/gloov2
function test_b64_encryption()
{
    $token = "osje8L";
    $enc = Gloo_Util::b64_encrypt($token);
    echo " encrypted string :: {$enc} \n";
    $dec = Gloo_Util::b64_decrypt($enc);
    echo " decrypted string :: {$dec} \n";
}