当前位置:网站首页>On interface encryption
On interface encryption
2022-07-25 19:29:00 【Shining umbrella】
1、 The importance of interface encryption
The difference between encryption and non encryption :
When the client interacts with the server , For example, login operation , Open the debug window , After entering the user name and password, click login , You can see the login interface we call , In the return data of the interface , You can see that the login user name and password are displayed in clear text , It indicates that the interface does not perform encryption .
If a login interface is encrypted , Then we use it directly in the interface tool user name 、 Login with password cannot succeed , Even if your username and password are correct , He will still prompt that your user name and password are incorrect .
Importance :
The client and server transmit data through the network , We need to be online when logging into a website ( Like a router ), Any request sent by the client will pass through the router , That is, the router will record all network transmission data , Then it is sent to the server by the router , The router is like a middleware , So data is easy to be stolen by middleware , This is why interface encryption is needed .
HTTPS The encrypted
Before the official transmission of data , The client side and the server side should make a 【 encryption 】 The process of .
HTTPS Although it ensures some security of data in the transmission process , But it may still be caught , because https Between encryption and network proxy and server , client ----》 Network proxy -----(HTTPS encryption )-----》 The server , The network agent can still see the data sent by the client .
Suitable for the project of interface encryption : Bank 、 payment 、 Finance and other projects involving money
client / Server side encryption
Symmetric encryption : Encryption and decryption use the same key
cryptography : Caesar code ( Exchange passwords 、 Replace password )
eg: Plaintext (abc) -----( encryption algorithm + secret key )------ Ciphertext (def)
encryption algorithm : Namely Alphabet offset 【 Encryption logic 】
secret key : Offset - Right
Testers ---- Call symmetric encryption interface 【 Need to know 1、 encryption algorithm ,2、 secret key 】
Asymmetric encryption : Different keys for encryption and decryption
Use public key encryption , Decrypt with private key
Asymmetric encryption 【 Little games 】
【 client 】---- Enter a 3 The number of digits 【 Plaintext 】
encryption : Algorithm ( Mathematical operations of addition, subtraction, multiplication and division )
secret key ( multiply 91)
To transmit data :—426
【 Server side 】 — Analysis results 【686】
Decrypt : Algorithm algorithm ( Mathematical operations of addition, subtraction, multiplication and division )
secret key ( multiply 11), after 3 Bit is the decrypted data
Encryption interface Test complexity
Symmetric encryption requires understanding 【 Algorithm 、 secret key 】
Asymmetric encryption requires understanding 【 Algorithm 、 Public key 、 Private key 】
Test the operation of interface encryption at work :
1、 Develop and generate encrypted data , export .
shortcoming : Data generated in advance , The test scenario covers less
2、 Encrypt and decrypt through code — Testers can write , Developers can also )
- Development provides code snippets 【 Encryption and decryption code 】 — jmeter To carry out
- Development provides execution tools ---- Execute directly by command , Generate encrypted data
边栏推荐
- IP地址的概念
- 新瓶装老酒--近期APT32(海莲花)组织攻击活动样本分析
- [Detr for 3D object detection] 3detr: an end to end transformer model for 3D object detection
- 帝国CMS7.5仿《问答库》题库问答学习平台网站源码 带手机版
- Hongke shares | how to solve blackmail software security vulnerabilities
- KCon 2022 亮点及议程大揭秘!
- binarySearch基础二分查找
- 小程序毕设作品之微信校园维修报修小程序毕业设计成品(5)任务书
- An idea of solving div adapting to screen
- balanced binary tree
猜你喜欢

小程序毕设作品之微信校园维修报修小程序毕业设计成品(1)开发概要

授权无线通信标准

JS learning notes 17: DOM query exercise

leetcode刷题:动态规划07(不同的二叉搜索树)

哪吒 D1-H 测试 microbench

Code sharing of social chat platform developed by dating website (III)

FPGA based 1080p 60Hz bt1120 interface debugging process record

帝国CMS7.5仿《问答库》题库问答学习平台网站源码 带手机版

小程序毕设作品之微信校园维修报修小程序毕业设计成品(2)小程序功能

【刷题记录】21. 合并两个有序链表
随机推荐
IP地址的概念
[wp]ctfshow-web入门-爆破
Website construction of information exchange platform for China Africa South South cooperation based on PHP
小程序毕设作品之微信校园维修报修小程序毕业设计成品(7)中期检查报告
Juzhi cloud computing opens a new era to the "proprietary cloud" of Youfu network
Solve the problem that the win10 account has no administrator rights
Flutter tips: optimizing the buildcontext you use
TypeError: ‘str‘ object is not callable的错误原因
安全基础4 ---正则表达式
KCon 2022 亮点及议程大揭秘!
Wechat campus maintenance application applet graduation design finished product of applet completion work (8) graduation design thesis template
鸿蒙-大喵计算画板-简介
某公司网络设计与规划
Real estate industry reshuffle
Monitor MySQL based on MySQL exporter
Have you ever seen this kind of dynamic programming -- the stock problem of state machine dynamic programming (Part 1)
Selenium运行慢 - 通过设置selenium加载策略加快运行速度
Introduction of this course (Introduction to machine learning)
给容器添加3d效果的副标题
InTouch advanced alarm (alarm filtering)