Giter Club home page Giter Club logo

chat-app-based-on-sm2-sm4's Introduction

胡扯

一个基于国密算法的在线多人聊天室 实现了使用sm2算法进行签名以及密钥协商,并将协商出的密钥用作sm4算法对消息进行加解密

套接字通信部分借鉴了这个项目,然后其他的基本就是乱搞,有的页面借鉴了一些赛题😋

部署

直接部署

修改app.py中数据库连接部分,改为你自己的数据库信息,然后直接运行app.py,最后访问

http://localhost:5000

docker 部署

docker-compose -p crypto up --build -d

docker-compose up --build -d

预览

首页

登录

2

注册

登陆后聊天主页

聊天室

网站日志

日志查看—创建房间

日志查看—另一用户加入房间并完成密钥协商

因为容器化了,这个函数又是在另一个文件,所以只想到将输出信息设置到一个日志文件中,然后进入容器化交互查看这种查看方法

日志查看—发送消息中间量

chat-app-based-on-sm2-sm4's People

Contributors

lan1oc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.