/** * @param array $aValues * @param string $sCustomKey = '' * * @return string */ public static function EncodeKeyValues(array $aValues, $sCustomKey = '') { return \MailSo\Base\Utils::UrlSafeBase64Encode(\RainLoop\Utils::EncryptString(\serialize($aValues), \md5(APP_SALT . $sCustomKey))); }