function mysql_password() { //fetch encrypted password $encpassword = $this->ini_array['mysql.password']; $password = Gloo_Util::b64_decrypt($encpassword); return $password; }
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"; }