How many encryption methods are there?
Types of encryption methods:
A widely used cryptographic hash function that can generate a 128-bit (16-byte) hash value to ensure complete and consistent information transmission. MD5 was designed by Ronald Linn Rivest, an American cryptographer, and published in 1992 to replace the MD4 algorithm. The procedure of this algorithm is regulated in the RFC 1321 standard.
2. Symmetric encryption
Symmetric encryption uses the encryption method of a single-key cryptographic system. The same key can be used for both encryption and decryption of information. This encryption method is called symmetric encryption, also known as single-key encryption.
3. Asymmetric encryption
Unlike symmetric encryption algorithms, asymmetric encryption algorithms require two keys: a public key (publickey) and a private key (privatekey). The public key and the private key are a pair. If the public key is used to encrypt data, only the corresponding private key can be used to decrypt it.
If the data is encrypted with a private key, it can only be decrypted with the corresponding public key. Because encryption and decryption use two different keys, this algorithm is called an asymmetric encryption algorithm.