Symmetric encryption algorithm is used to encrypt sensitive data and other information. Commonly used algorithms include:
DES (Data Encryption Standard): A high-speed data encryption standard, which is suitable for encrypting a large amount of data.
3DES(Triple DES): Based on DES, a piece of data is encrypted three times with three different keys, which is more powerful.
AES (Advanced Encryption Standard): Advanced encryption standard, which is the next generation high-speed and high-security encryption algorithm standard;
Algorithm principle
AES algorithm is based on permutation and permutation operation. Arrangement is to rearrange data, and replacement is to replace one data unit with another. AES uses several different methods to perform permutation and permutation operations.
2. Asymmetric algorithm
Common asymmetric encryption algorithms are as follows:
RSA: Invented by RSA Company, it is a public key algorithm that supports variable-length keys, and the length of the file block to be encrypted is also variable.
DSA (Digital Signature Algorithm): Digital signature algorithm, which is a standard DSS (Digital Signature Standard);
ECC (Elliptic Curve Cryptography): Elliptic Curve Cryptography.
Algorithm Principle —— A Difficult Problem on Elliptic Curve
ECDLP of discrete logarithm problem on elliptic curve is defined as follows: given prime number p and elliptic curve e, for q = KP, known p and q, finding a positive integer k less than p can prove that it is easy to calculate q from k and p, but it is difficult to calculate k from q and p.
By matching the addition operation on the elliptic curve with the modular multiplication operation on the discrete logarithm, and matching the multiplication operation on the elliptic curve with the modular power operation on the discrete logarithm, the corresponding cryptosystem based on the elliptic curve can be established.