当前位置:网站首页>加密传输过程
加密传输过程
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证书的私钥解开再使用。如此防止了公钥信息传递中被篡改。
数字签名与加密
数字签名:私钥加密公钥解密
加密:公钥加密私钥解密
边栏推荐
- Summary of the stock problem of state machine dynamic programming
- 一款好用的接口测试工具——Postman
- The performance management method OKR is used by all companies
- Learn Scope from a Compilation Perspective!
- The difference between ?? and ??= and ?. and || in JS
- oracle数据库版本问题咨询(就是对比从数据库查询出来的版本,和docker里面的oracle版本)?
- leetcode(刷题篇13)
- MySQL的一个问题
- 在微服务中使用事件溯源的六大原因 - Herath
- C# VSCode & Rider引用命名空间快捷键
猜你喜欢
【LeetCode】55. 跳跃游戏 - Go 语言题解
46.
After writing business code for many years, I found these 11 doorways, which only experts know
如何在WordPress网站上添加导航菜单
joiplay模拟器不支持此游戏类型怎么解决
Shell脚本 if语句
How to install joiplay emulator rtp
uniapp develops WeChat applet - soft exam brushing applet
2D转换模块&&媒体查询
joiplay模拟器rtp如何安装
随机推荐
What are the efficient open source artifacts of VSCode
leetcode 406. Queue Reconstruction by Height 根据身高重建队列(中等)
How to solve types joiplay simulator does not support this game
uniapp开发微信小程序-软考刷题小程序
Summary of the stock problem of state machine dynamic programming
动态修改el-tab-pane 的label(整理)
一款好用的接口测试工具——Postman
[SAM template question] P3975 [TJOI2015] string theory
Steven Giesel 最近发布了一个由5部分内容组成的系列,记录了他首次使用 Uno Platform 构建应用程序的经验。
pytorch的安装注意事项
How to install joiplay emulator rtp
How to adjust Chinese in joiplay simulator
46.<list链表的举列>
Encapsulate and obtain system user information, roles and permission control
Lambda表达式
边缘计算与小程序也能结合!智能家居是否能借势上台阶
what is jira
uni-ui installation
software development design process
2021GDCPC Guangdong University Student Programming Competition H.History