Integrity manifest
完整性清单
Hash a baseline, target, and patch into a portable JSON record for your CDN or update service.
计算基线、目标和补丁的哈希,生成可供 CDN 或更新服务使用的 JSON 记录。
—
Private by design · Powered by the package 隐私优先 · 由包自身驱动
Create, apply, inspect, and verify ENDSLEY/BSDIFF43
patches locally with the same Web Worker and WebAssembly runtime
shipped by react-native-bs-diff-patch.
使用 react-native-bs-diff-patch 自带的 Web Worker 与 WebAssembly
运行时,在本地创建、应用、检查和验证
ENDSLEY/BSDIFF43 补丁。
Binary Patch Toolkit 二进制补丁工具箱
Choose an operation below. Every generated result includes hashes, byte counts, and a report you can paste into an issue.
选择下方操作。每次生成的结果都包含哈希、字节数和可直接粘贴到 Issue 的报告。
Select the baseline and target. The result is immediately applied again and verified byte-for-byte before download.
选择基线文件和目标文件。下载前会立即重新应用补丁,并进行逐字节验证。
Add an expected file or trusted SHA-256 to turn restoration into an integrity check. A hash is only trustworthy when its expected value comes from a trusted manifest.
添加预期文件或可信 SHA-256,将还原过程转化为完整性校验。只有来自可信清单的预期哈希才可信。
Read the 24-byte header, target size, payload size, and SHA-256 without applying the patch. This is a structural check—not a substitute for applying the patch and verifying the target.
无需应用补丁即可读取 24 字节头、目标大小、负载大小和 SHA-256。这只是结构检查,不能替代应用补丁并验证目标文件。
Use this in your app 在应用中使用
Shipping utilities 分发辅助工具
Build an integrity manifest, quantify transfer savings, or turn an error code into the next concrete debugging step.
生成完整性清单、量化传输收益,或把错误码转化为下一步可执行的排障动作。
Hash a baseline, target, and patch into a portable JSON record for your CDN or update service.
计算基线、目标和补丁的哈希,生成可供 CDN 或更新服务使用的 JSON 记录。
—
Estimate the traffic avoided when clients download a patch instead of the complete target.
估算客户端下载补丁而非完整目标文件时可以节省的流量。
Map a public error code to its platform, likely cause, and the safest next action.
将公开错误码映射到适用平台、常见原因和最安全的下一步动作。
—
Production boundaries 生产边界