コード例 #1
0
ファイル: core.helpers.php プロジェクト: jwest00724/mambo
 function decrypt($enc_text, $key = '')
 {
     $this->key = $key !== '' ? $key : mosCreateGUID();
     $plain_text = parent::decrypt($this->key, $enc_text);
     return $plain_text;
 }
コード例 #2
0
 /**
  * decrypts a string
  *
  * @param $string \b string to decrypt
  */
 static function string_decrypt($string)
 {
     require_once 'encryption.class.php';
     include 'other/pw_key.php';
     $crypt = new encryption_class();
     return $crypt->decrypt($_PSU_KEY['key'], $string);
 }
コード例 #3
0
ファイル: login.php プロジェクト: ejemba/crawl-anywhere
function decrypt($value)
{
    $crypt = new encryption_class();
    return $crypt->decrypt("mysolrserver", $value);
}