The full name of DES is data encryption standard. DES belongs to symmetric key cryptosystem, plaintext can be generated by encryption algorithm, and ciphertext can also be decrypted by the same key to restore plaintext, so it is reversible. DES groups plaintext into 64-bit binary data groups before encryption. After encryption, multiple groups of 64-bit ciphertexts are obtained. The encryption key occupies 64 bits, of which the actual length is 56 bits, and 8 bits are used for parity check. The same types are:
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): In the AES standard specification, the block length is 128bit, and the key length can be 128bit, 192bit or 256bit.
The full name of SHA is secure hash algorithm. SHA is a digest algorithm, whose principle is to convert plaintext into ciphertext (usually small) in an irreversible way, also known as one-way hash algorithm.
The full name of MD5 is message digest algorithm. MD5 is a digest algorithm, which is used to "compress" a large amount of information into a confidential format (irreversible) before signing the private key with digital signature software. MD5 processes the input information in 5 12-bit packets, and each packet is divided into 16 32-bit packets. After a series of processing, the output of the algorithm consists of four 32-bit data packets, which will generate a hash value of 128 bits after concatenation.
BASE64 is an encoding algorithm, which encodes data content for transmission. Although reversible, its coding method is open, and whether it is encrypted or not doesn't matter. Base64 is one of the most common coding methods for transmitting 8-8 byte codes on the network. Base64 is a method for representing binary data based on 64 printable characters.
Original text processing
/The _ best _/ articles/details/109877405