Exemple #1
0
 /**
  * @param string $sEncodedValues
  * @param string $sCustomKey = ''
  *
  * @return array
  */
 public static function DecodeKeyValuesQ($sEncodedValues, $sCustomKey = '')
 {
     $aResult = @\unserialize(\RainLoop\Utils::DecryptStringQ(\MailSo\Base\Utils::UrlSafeBase64Decode($sEncodedValues), \md5(APP_SALT . $sCustomKey)));
     return \is_array($aResult) ? $aResult : array();
 }