encrypt-decrypt-pyqt5
项目简介
一个带有 GUI 界面的密码学工具
功能特性
实现了 11 种古典密码、2 种流密码、2 种分组密码、2 种公钥密码、和 1 种哈希算法。可对字符串和文件进行加密和解密。
附带 PyQt 实现的 GUI 界面
密码库与 GUI 界面代码分离,可以当做单独的密码库使用
具体实现的密码如下
古典密码(可对字符串加解密)
单表替代密码:
Caesar Cipher
Keyword Cipher
Affine Cipher
Multilateral Cipher
多表替代密码:
Vigenere Cipher
Autokey Ciphertext
Autokey Plaintext
多图替代密码:
Playfair Cipher
置换密码:
Permutation Cipher
Column Permutation Cipher
Double-Transposition Cipher
流密码(可对字符串和文件加解密)
RC4
CA
分组密码(可对字符串和文件加解密)
DES-64
AES-64
公钥密码(可生成密钥对,能对字符串和文件加解密)
RSA
ECC
哈希算法(可用于字符串和文件)
MD5
环境依赖
见 requirement.txt , 由 pip freeze 释出
部署步骤
pip install -r requirements.txt
python start.py
目录结构描述
.
├── algorithm 密码算法实现
│ ├── block_cipher
│ │ └── aes
│ ├── classical_cipher
│ ├── hash_algorithm
│ ├── public_cipher
│ │ ├── ecc
│ │ └── rsa
│ └── stream_cipher
│ └── ca
├── assets QSS 配置
│ ├── icons
│ ├── python
│ └── qss
├── event GUI 事件绑定
└── ui GUI 界面定义
版本内容更新
1.0 更新文档
声明
公开使用该代码请注明作者 Kaoso
协议