当前位置:网站首页>RSA encryption colloquial explanation
RSA encryption colloquial explanation
2022-06-13 01:09:00 【dddd_ jj】
1. The problem of prime factorization of large numbers
RSA The encryption algorithm adopts the problem of large number prime factor decomposition , So as to prevent the leakage of secrets . Prime factorization of large numbers refers to , Give you a big number ( The number of thousands is even greater ), You need to decompose this number into the product of two prime numbers .
We can easily multiply the product of two prime numbers to obtain large numbers , But it is difficult to decompose the product of two prime numbers from large numbers .
such as :
Here is a big number for you , It's hard for you to decompose it into the product of two prime numbers .
2.RSA The algorithm is an asymmetric encryption algorithm
Asymmetric encryption algorithm
It means that different keys are used for encryption and decryption , Encryption uses the public key , Decryption with private key .
Symmetric encryption algorithm
It means that the same key is used for encryption and decryption .
3.RSA Illustration of encryption and decryption process

A Need to send file to B, It can be divided into 5 A process :
(1)B Combine a set of public and private keys in some way ( Public keys are similar to large numbers , Private keys are similar to prime factors of large numbers )
(2)B Send the public key to A
(3)A Encrypt the file with the public key
(4)A Send the encrypted file to B
(5)B Decrypt the encrypted file with the private key , Get the original document .
In the process , The thief can only get the public key and the encrypted file , It is difficult for the secret thief to decompose the private key from the public key , So it is very difficult for the secret stealer to get the original document .
边栏推荐
- ArrayList underlying source code
- Illustrator tutorial, how to add dashes and arrows in illustrator?
- Leetcode-9-palindromes (simple)
- Kotlin collaboration, the life cycle of a job
- [JS component] simulation framework
- Google play console crash information collection
- leetcode 206. Reverse linked list
- How to choose stocks? Which indicator strategy is reliable? Quantitative analysis and comparison of strategic benefits of ASI, VR, arbr, DPO and trix indicators
- Downloading wiki corpus and aligning with multilingual wikis
- Alexnet implements image classification of caltech101 dataset (pytorch Implementation)
猜你喜欢
![[JS component] previous queue prompt](/img/79/9839f68b191b0db490e9bccbeaae1d.jpg)
[JS component] previous queue prompt

What is meebits? A brief explanation

Plusieurs catégories de tests logiciels sont claires à première vue

Physical orbit simulation

How to choose stocks? Which indicator strategy is reliable? Quantitative analysis and comparison of DBCD, ROC, vroc, Cr and psy index strategy income

With a market value of more than trillion yuan and a sales volume of more than 100000 yuan for three consecutive months, will BYD become the strongest domestic brand?

Tangent and tangent plane

深度学习模型剪枝

工作与生活
![[Latex] 插入圖片](/img/0b/3304aaa03d3fea3ebb93b0348c3131.png)
[Latex] 插入圖片
随机推荐
[JS component] create a custom horizontal and vertical scroll bar following the steam style
Wangdao machine test - Chapter 6 - maximum common divisor GCD and minimum common multiple LCM
5G工业网关在煤矿行业的应用优势
[Latex] 插入图片
The tle4253gs is a monolithic integrated low dropout tracking regulator in a small pg-dso-8 package.
FLIP动画实现思路
Bubble sort - alternate sort at both ends
707. design linked list
Mathematical knowledge arrangement: extremum & maximum, stagnation point, Lagrange multiplier
sort
[Latex] 插入圖片
Self use notes for problem brushing learning
Five classic articles worth reading
[backtrader source code analysis 7] analysis of the functions for calculating mean value, variance and standard deviation in mathsupport in backtrader (with low gold content)
Lessons learned from the NLP part of the course "Baidu architects hands-on deep learning"
Wikipedia User Guide
Alexnet implements image classification of caltech101 dataset (pytorch Implementation)
MySQL异常:com.mysql.jdbc.PacketTooBigException: Packet for query is too large(4223215 > 4194304)
What is the difference between pytorch and tensorflow?
Loss calculation in pytorch