当前位置:网站首页>加密传输过程
加密传输过程
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证书的私钥解开再使用。如此防止了公钥信息传递中被篡改。
数字签名与加密
数字签名:私钥加密公钥解密
加密:公钥加密私钥解密
边栏推荐
猜你喜欢

jira是什么

45.【list链表的应用】

封装、获取系统用户信息、角色及权限控制

动态修改el-tab-pane 的label(整理)

Chevrolet Trailblazer, the first choice for safety and warmth for your family travel

joiplay模拟器如何导入游戏存档

$\text{ARC 145}$

CPM:A large-scale generative chinese pre-trained lanuage model

uniapp develops WeChat applet - soft exam brushing applet

Shell编程条件语句 test命令 整数值,字符串比较 逻辑测试 文件测试
随机推荐
An easy-to-use interface testing tools - the Postman
一款好用的接口测试工具——Postman
MPI简谈
Game mall table establishment
从编译的角度来学作用域!
软件测试三阶段,你在哪一步?
joiplay模拟器rtp如何安装
45.【list链表的应用】
Ukraine's foreign ministry: wu was restored to complete the export of food security
ZZULIOJ: 1120: the most value to exchange
Debezium error series 20: task failed to create new topic. Ensure that the task is authorized to create topics
ctfshow 文件包含
Steven Giesel recently published a 5-part series documenting his first experience building an application with the Uno Platform.
Learn Scope from a Compilation Perspective!
Shell脚本 if语句
C# VSCode & Rider引用命名空间快捷键
The first level must project independently
leetcode 406. Queue Reconstruction by Height 根据身高重建队列(中等)
How to ensure the consistency of database and cache data?
A Brief Talk About MPI