How to understand HTTPS encryption algorithm
This article shows you how to understand the HTTPS encryption algorithm, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.
Preface
We will introduce the principle of RSA and ECDHE algorithm and their application in HTTPS key exchange in detail.
Asymmetric secret key exchange
Introduction of 1RSA algorithm
The security of RSA algorithm is based on the irreversibility of multiplication or the difficulty of decomposing large number factors. The derivation and implementation of RSA involves the Euler function and Fermat Theorem and the concept of modular elements. Interested readers can learn about it by themselves.
RSA algorithm is one of the most important algorithms that dominate the world, and at present, RSA is also the most important algorithm in HTTPS system.
The steps for calculating RSA are as follows:
Two prime numbers are randomly selected, assuming that pause 13 is Q Q. N=p*q=13*19=247
∅ (n) denotes the number of coprimes with the integer n. If n equals the product of two prime numbers, then ∅ (n) = (pmae1) (qMel 1) picks a number e to satisfy 1.