FoxiGram/TMessagesProj/jni/voip/webrtc/base/metrics/crc32.h
instant992 8e79f2ee9c FoxiGram: Telegram client with built-in Xray VLESS proxy
Based on Nekogram. Key additions:
- Rebrand to FoxiGram (app name, APK name, applicationId com.foxigram.app)
- Embedded Xray (VLESS+Reality) proxy client via JNI libxray.so
- Bundled hidden one-tap proxies (LTE + WiFi), read-only in UI
- Auto-restore proxy on restart, rebind to active network (LTE/WiFi)
- Server credentials externalized to git-ignored XrayServers.java (+ template)
- libxray Go source included; compiled .so, keystore, google-services.json ignored
2026-06-08 16:41:07 +04:00

24 lines
735 B
C++

// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_METRICS_CRC32_H_
#define BASE_METRICS_CRC32_H_
#include <stddef.h>
#include <stdint.h>
#include "base/base_export.h"
namespace base {
BASE_EXPORT extern const uint32_t kCrcTable[256];
// This provides a simple, fast CRC-32 calculation that can be used for checking
// the integrity of data. It is not a "secure" calculation! |sum| can start
// with any seed or be used to continue an operation began with previous data.
BASE_EXPORT uint32_t Crc32(uint32_t sum, const void* data, size_t size);
} // namespace base
#endif // BASE_METRICS_CRC32_H_