Skip to content

流密码(序列密码)加密解密工具。支持A5/1算法、RC4算法、ChaCha20算法的加密/解密

Notifications You must be signed in to change notification settings

Agiens02/stream-cipher-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

序列密码管理系统

这是一个简易的序列密码加密/解密系统,使用SQLite3和MongoDB作为数据库。 代码较乱,仅做参考。

要求

  • Python

  • MongoDB(可选安装,但需要在database/config.yaml中指定数据库)

界面

encrypt.png

decrypt.png

使用

  1. 克隆本项目或下载压缩包
git clone https://github.com/Agiens02/stream-cipher-tool.git
cd stream-cipher-tool
  1. 创建虚拟环境
conda create -n stream-cipher-tool python==3.8
  1. 激活虚拟环境
conda activate stream-cipher-tool
  1. 安装依赖
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
  1. 运行主界面
python MainWindow.py

注意

  • 管理界面密码默认0000,可在database/config.yaml中修改
  • A5只支持16位十六进制密钥
  • RC4支持任意长度字符串密钥
  • ChaCha20只支持32位或64位十六进制密钥

About

流密码(序列密码)加密解密工具。支持A5/1算法、RC4算法、ChaCha20算法的加密/解密

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages