Research workflow notes with a standard-library hash-chain integrity demonstration.
本仓库收录隐私可追溯主题的研究工作流、实验模块设计、Prompt、产品化与数据分析材料。src/integrity_demo.py 是一个最小哈希链完整性演示,不是未公开研究原型,也不实现完整的双链架构、密钥管理或业务验真系统。
| 内容 | 文件 |
|---|---|
| 研究问题、方案比较与评估流程 | workflows.md |
| 实验模块设计 | skills.md |
| AI 辅助科研 Prompt | prompt-engineering.md |
| 状态机、验真流程与分析材料 | product-design.md、data-analysis.md |
| 哈希链完整性演示 | src/integrity_demo.py |
仓库把研究问题、方案比较、实验模块、完整性演示和结果分析串联起来。图中流程用于组织验证工作,不表示已经实现生产级双链系统。
- Python 3.10 或更高版本
- 不需要第三方 Python 包
- Git 仅在克隆仓库时需要
git clone https://github.com/ChrysFu/privacy-traceability-research.git
cd privacy-traceability-research
python3 --version项目直接使用 Python 标准库运行,因此不需要安装额外依赖。
运行内置自检:
python3 src/integrity_demo.py --self-test运行完整演示:
python3 src/integrity_demo.py演示会按稳定 JSON 编码计算链式 SHA-256 哈希,并在记录载荷被修改后报告首个失效位置。
python3 -m compileall -q src
python3 src/integrity_demo.py --self-testGitHub Release 提供自动生成的源码 ZIP 和 TAR.GZ。该仓库目前不提供独立应用、容器镜像或安装程序;研究材料和演示脚本下载后即可本地使用。
- 演示用于理解完整性校验,不提供生产级签名、密钥管理、零知识证明或智能合约。
- 研究结论、性能和业务可行性必须通过独立实验验证。
- 不要把演示记录视为真实业务记录、隐私保证或合规证明。
本项目采用 MIT License。
This repository collects research workflows, experiment-module designs, prompts, productization notes, and analysis material for privacy traceability. src/integrity_demo.py is a minimal hash-chain integrity demonstration, not an unpublished research prototype or a complete dual-chain, key-management, or business-verification system.
| Content | File |
|---|---|
| Research questions, solution comparison, and evaluation flow | workflows.md |
| Experiment-module design | skills.md |
| AI-assisted research prompts | prompt-engineering.md |
| State-machine, verification-flow, and analysis material | product-design.md, data-analysis.md |
| Hash-chain integrity demonstration | src/integrity_demo.py |
The repository connects research questions, solution comparison, experiment modules, the integrity demonstration, and result analysis. The workflow organizes validation work and does not claim that a production dual-chain system has been implemented.
- Python 3.10 or later
- No third-party Python packages
- Git is only required when cloning the repository
git clone https://github.com/ChrysFu/privacy-traceability-research.git
cd privacy-traceability-research
python3 --versionThe project runs directly on the Python standard library, so no dependency installation is required.
Run the built-in self-test:
python3 src/integrity_demo.py --self-testRun the complete demonstration:
python3 src/integrity_demo.pyThe demonstration computes chained SHA-256 hashes over canonical JSON and reports the first invalid position after a record payload changes.
python3 -m compileall -q src
python3 src/integrity_demo.py --self-testGitHub Releases provides automatically generated source ZIP and TAR.GZ archives. The repository does not currently publish a standalone application, container image, or installer; download the research material and demonstration script to use them locally.
- The demonstration explains integrity checks; it does not provide production signatures, key management, zero-knowledge proofs, or smart contracts.
- Research conclusions, performance, and business feasibility require independent experiments.
- Do not treat demonstration records as real business records, a privacy guarantee, or compliance evidence.
This project is licensed under the MIT License.