当前位置:网站首页>加密传输过程
加密传输过程
2022-07-31 00:00:00 【Miracle_ze】
加密传输
对称加密算法【HTTP】
非对称加密算法【HTTPS】
A发给B
A用B的公钥加密。发过去只有B的私钥可以解。A,B是不会将私钥给出去给对方的。
问题情况:
A用自己公钥发,并把自己公钥连信息—起发。b就可以用a公钥解。
但是如果有个c的话,它有得到这个信息就可以用信息里的a公钥,那么互相的信息就暴露了。
解决情况
结合对称加密算法,用非对称加密算法时候发信息携带一个对称加密密钥算法。然后ab就有了这个独特对称加密算法密钥,而c不知道。这样就可以有效率高又安全
为了防止传输公钥信息被第三方替换采用:CA证书
CA 证书是在传输公钥过程中,为防止公钥被拦截替换对发送的公钥再进行一次加密。如此接受方收到的公钥就要用CA证书的私钥解开再使用。如此防止了公钥信息传递中被篡改。
数字签名与加密
数字签名:私钥加密公钥解密
加密:公钥加密私钥解密
边栏推荐
猜你喜欢
360核心安全大脑3.0正式发布,构建政企用户的“能力中枢平台”
HCIP Day 15 Notes
Linux 部署mysql 5.7全程跟踪 完整步骤 django部署
.NET Cross-Platform Application Development Hands-on Tutorial | Build a Kanban-style Todo App with Uno Platform
在微服务中使用事件溯源的六大原因 - Herath
what is jira
写了多年业务代码,我发现了这11个门道,只有内行才知道
web漏洞之需要准备的工作
jira是什么
In MySQL, the stored procedure cannot realize the problem of migrating and copying the data in the table
随机推荐
uniapp develops WeChat applet - soft exam brushing applet
动态修改el-tab-pane 的label(整理)
What are the efficient open source artifacts of VSCode
软件测试三阶段,你在哪一步?
How to ensure the consistency of database and cache data?
Machine Learning 1-Regression Model (2)
How to adjust Chinese in joiplay simulator
游戏商城表建立
第一节 zadig 入门
(WebFlux)001、如何自定义注解实现功能
.NET 跨平台应用开发动手教程 |用 Uno Platform 构建一个 Kanban-style Todo App
image里的mode属性
如何在 AWS 中应用 DevOps 方法?
"NIO Cup" 2022 Nioke Summer Multi-School Training Camp 2 H.Take the Elevator
[Meng Xin problem solving] Delete the Nth node from the bottom of the linked list
会员生日提前了一天
How to import game archives in joiplay emulator
软件开发设计流程
天空云变化案例
一款好用的接口测试工具——Postman