得分:4/5
This project implements the RSA cryptosystem over the ring of Gaussian Integers
src/: Source code / 源代码gaussian_math.py: Gaussian Integer arithmetic / 高斯整数运算rsa_core.py: RSA KeyGen, Encrypt, Decrypt / RSA 核心逻辑gui.py: Graphical User Interface / 图形用户界面utils.py: Text encoding utilities / 文本编码工具
analysis/: Analysis scripts / 分析脚本benchmark.py: Performance comparison / 性能对比
report/: Project Report / 项目报告report.md: Bilingual report / 双语报告
- Python 3.x
- Tkinter (usually included with Python)
Run the main script from the project root: 在项目根目录下运行主脚本:
python main.pypython analysis/benchmark.py- Key Generation: Generates large Gaussian Primes (Split and Inert types).
- Encryption/Decryption: Full RSA cycle on the complex plane.
- Analysis: Compare performance with standard Integer RSA.