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