SecureCommunicate
网路与信息安全大作业II 加密聊天室
Install / Use
/learn @dake0805/SecureCommunicateREADME
SecureCommunicate
网路与信息安全 大作业2
多人聊天室,加密通信。
实现两个主机之间的密钥分发和加密传输。 要求:
- 用RSA算法实现两个主机之间的密钥分发;
- 用分发的密钥和DES加密,实现两个主机之间的加密数据传输;
- 两个步骤在程序中自动执行完,无手动参与;
- 实现代码,并写出实现技术文档。
User Interface
已有GUI,基于Java Swing。
很随意。
详见
release: https://github.com/dake0805/SecureCommunicate/releases/tag/gui-0.1
source code: https://github.com/dake0805/SecureCommunicate/tree/gui

Features
需要开启一个服务端,所有的客户端连接到此服务端,就能互相发送消息。
RSA
AES, DES 可拓展
Usage
server:
java -jar SecureConnect-homework2-1.0-SNAPSHOT-jar-with-dependencies.jar -s -p your port
client:
java -jar SecureConnect-homework2-1.0-SNAPSHOT-jar-with-dependencies.jar -c your server -p your port
已开启服务端 112.74.126.191:3456 用于测试
存在的问题
- DES加密不可用
- 在控制台输入时有新内容输出,已经输入还未发送的内容会消失。
- cmd等终端的中文乱码(非utf-8)
- 账户名称重复验证
- 中间人攻击
- 密码由客户端泄露
Related Skills
node-connect
340.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.2kCommit, push, and open a PR
