doc: update readme
This commit is contained in:
parent
b8917b2124
commit
3e5b466700
25
README.md
25
README.md
@ -1,27 +1,30 @@
|
|||||||
# my-tor-core
|
# tpre-python
|
||||||
|
|
||||||
本项目是全国密码学竞赛设计项目,该项目是一个类 Tor 的网络通信协议,旨在保护用户的隐私和匿名性。
|
本项目是全国密码学竞赛设计项目,该项目是使用python实现tpre算法
|
||||||
|
|
||||||
## 项目原理
|
## 项目原理
|
||||||
|
|
||||||
本项目目标是实现三层代理 + dns 解析自定义域名.xiaomian + 搭建匿名网站。
|
使用国密算法实现分布式代理重加密tpre
|
||||||
server路径下包含一个目录服务器,用于创建目录服务器,记录加入节点。
|
|
||||||
client路径下是客户端程序,客户端程序通过访问目录服务器获取当前的路由,并通过随机路由算法选择代理节点。
|
|
||||||
本项目选择sqlite作为数据库,存储节点信息等数据。
|
|
||||||
|
|
||||||
## 环境依赖
|
## 环境依赖
|
||||||
|
|
||||||
该项目依赖以下软件:
|
该项目依赖以下软件:
|
||||||
python 3.11
|
python 3.11
|
||||||
sqlite3
|
gmssl
|
||||||
|
gmssl-python
|
||||||
|
|
||||||
## 安装步骤
|
## 安装步骤
|
||||||
|
|
||||||
|
```
|
||||||
|
pip install
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## 使用说明
|
## 使用说明
|
||||||
本项目中包含三种角色,client, node和server。每种角色运行所需要的代码在相应的项目文件夹下面。
|
|
||||||
client: 即客户端。可以通过用户端连接小面网络、创建小面网站、访问别人创建的小面网站。
|
|
||||||
node: 即代理节点。运行此程序可以将计算机加入小面网络中,代理连接流量
|
## 参考文献
|
||||||
server: 即DNS服务器和小面网站目录服务器。运行此程序可以作为server接受请求。
|
https://www.cnblogs.com/pam-sh/p/17364656.html#tprelib%E7%AE%97%E6%B3%95
|
||||||
|
|
||||||
## 许可证
|
## 许可证
|
||||||
|
|
||||||
|
20
README_en.md
Normal file
20
README_en.md
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# tpre-python
|
||||||
|
|
||||||
|
This project is designed for the National Cryptography Competition and is implemented in Python to execute the TPRE algorithm.
|
||||||
|
|
||||||
|
## Project Principle
|
||||||
|
|
||||||
|
The project uses the Chinese national standard cryptography algorithm to implement distributed proxy re-encryption (TPRE).
|
||||||
|
|
||||||
|
## Environment Dependencies
|
||||||
|
|
||||||
|
The project relies on the following software:
|
||||||
|
- Python 3.11
|
||||||
|
- gmssl
|
||||||
|
- gmssl-python
|
||||||
|
|
||||||
|
## Installation Steps
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user