Example #1
0
 protected static function createBlockEmailStr($email)
 {
     KalturaLog::debug(__METHOD__ . "({$email})");
     return $email . self::SEPARATOR . kString::expiryHash($email, self::$key, self::EXPIRY_INTERVAL);
 }
 private static function createHashString($kuser_id)
 {
     $hash = kString::expiryHash($kuser_id, self::AUTH_SALT, self::AUTH_INTERVAL);
     $authData = $kuser_id . "I" . $hash;
     return $authData;
 }
Example #3
0
 protected static function createBlockEmailStr($email)
 {
     return $email . self::SEPARATOR . kString::expiryHash($email, self::$key, self::EXPIRY_INTERVAL);
 }