Skip to content

Commit de2b766

Browse files
author
爱音爱素食
committed
加密/解密软件基本完成
1 parent 58d40fe commit de2b766

File tree

3 files changed

+59
-24
lines changed

3 files changed

+59
-24
lines changed

.idea/workspace.xml

Lines changed: 12 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ This is a GUI-based encryption tool built with Python and Tkinter. It uses AES (
1616

1717
## Requirements
1818

19-
- Python 3.8+
20-
- Dependencies listed in `requirements.txt`:
21-
- `cryptography`
22-
- `tkinterdnd2` (optional, for drag-and-drop support)
19+
- Python 3.10+
20+
- Dependencies listed in `requirements.txt`
2321

2422
## Installation
2523

@@ -78,8 +76,23 @@ python main.py
7876
- **File Format**:
7977
- `[Salt (16 bytes)] [IV (16 bytes)] [Encrypted Data ...]`
8078

81-
## Testing
79+
# ⚠️ 免责声明
8280

83-
A sample test script `verify_and_generate_samples.py` is included to verify the cryptographic logic without the GUI.
84-
A sample file `test_sample.txt` and its encrypted version `test_sample.txt.enc` are provided.
85-
The password for the sample is: `TestSig123`
81+
本仓库包含的加密/解密程序仅为**学习、研究和实验目的**而提供。作者不保证其安全性、完整性或适用性,使用本程序所产生的一切风险及后果由使用者自行承担。
82+
83+
## 重要声明
84+
85+
1. **非专业用途**
86+
本程序仅为教学示例,**不适用于**保护真实场景中的敏感数据。其加密实现可能包含漏洞,无法达到工业级安全标准。
87+
2. **禁止用于非法用途**
88+
使用者不得将本程序用于任何非法活动,包括但不限于侵犯隐私、破坏系统或违反当地法律法规的行为。作者对任何滥用行为概不负责。
89+
3. **无担保责任**
90+
本程序按“原样”提供,作者明确不承担任何明示或暗示的担保责任,包括但不限于对适用性、特定功能或安全性的担保。使用本程序造成的任何直接或间接损失,作者不承担法律责任。
91+
4. **自行承担风险**
92+
任何使用者应自行评估程序的安全性及合规性,并在必要时咨询安全专家或法律顾问。
93+
94+
## 建议
95+
96+
- 请勿使用本程序处理真实敏感数据。
97+
- 欢迎提交问题或改进代码,但请勿要求作者提供安全审计或技术支持。
98+
- 如发现安全漏洞,请通过 GitHub Issues 告知。

README_CN.md

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616

1717
## 要求
1818

19-
- Python 3.8+
20-
- 依赖包在 `requirements.txt` 中列出:
21-
- `cryptography`
22-
- `tkinterdnd2`(可选,用于拖放支持)
19+
- Python 3.10+
20+
- 依赖包在 `requirements.txt` 中列出
2321

2422
## 安装
2523

@@ -90,14 +88,31 @@ python main.py
9088
- **文件格式**
9189
- `[Salt (16 字节)] [IV (16 字节)] [加密数据 ...]`
9290

93-
## 测试
94-
95-
包含一个示例测试脚本 `verify_and_generate_samples.py`,用于在没有 GUI 的情况下验证加密逻辑。
96-
提供了示例文件 `test_sample.txt` 及其加密版本 `test_sample.txt.enc`
97-
示例文件的密码为:`TestSig123`
98-
9991
## 参考文档
10092

10193
[(1 封私信) 什么是AES加密?详解AES加密算法原理流程 - 知乎](https://zhuanlan.zhihu.com/p/562256846)
10294

103-
[(1 封私信) 深入浅出:Base64编码原理详解 - 知乎](https://zhuanlan.zhihu.com/p/696546724)
95+
[(1 封私信) 深入浅出:Base64编码原理详解 - 知乎](https://zhuanlan.zhihu.com/p/696546724)
96+
97+
98+
99+
# ⚠️ 免责声明
100+
101+
本仓库包含的加密/解密程序仅为**学习、研究和实验目的**而提供。作者不保证其安全性、完整性或适用性,使用本程序所产生的一切风险及后果由使用者自行承担。
102+
103+
## 重要声明
104+
105+
1. **非专业用途**
106+
本程序仅为教学示例,**不适用于**保护真实场景中的敏感数据。其加密实现可能包含漏洞,无法达到工业级安全标准。
107+
2. **禁止用于非法用途**
108+
使用者不得将本程序用于任何非法活动,包括但不限于侵犯隐私、破坏系统或违反当地法律法规的行为。作者对任何滥用行为概不负责。
109+
3. **无担保责任**
110+
本程序按“原样”提供,作者明确不承担任何明示或暗示的担保责任,包括但不限于对适用性、特定功能或安全性的担保。使用本程序造成的任何直接或间接损失,作者不承担法律责任。
111+
4. **自行承担风险**
112+
任何使用者应自行评估程序的安全性及合规性,并在必要时咨询安全专家或法律顾问。
113+
114+
## 建议
115+
116+
- 请勿使用本程序处理真实敏感数据。
117+
- 欢迎提交问题或改进代码,但请勿要求作者提供安全审计或技术支持。
118+
- 如发现安全漏洞,请通过 GitHub Issues 告知。

0 commit comments

Comments
 (0)