When it comes to encryption, a digital signature is associated with two concepts that are often confused.
Encryption: Encryption is a way to send information in a password way. Only the person with the correct key can unlock the password for this information. For other people, this information looks like a series of random letters, numbers, and symbols.
(i) Symmetric encryption (symmetric cryptography)Symmetric encryption is the fastest and simplest way to encrypt encryption (encryption) and decryption (decryption) with the same key (s
key. This resolves the disadvantage of symmetric key encryption. The encryption key that is exposed is called the public key, and the private decryption key is called the private key.To ensure the availability of public key encryption, you must ensure that the private key cannot be computed in the following situations
Two common cryptographic algorithms in cryptography are symmetric cryptography (single-key cryptography) and asymmetric cryptography (public key cryptography ).
The so-called symmetric key algorithm means that if the encryption key of an encryption algorithm is the same as
Des:Digital Encryption Standard. Obsolete Standard.Single key algorithm is the sender of the information using key A for data encryption, the receiver of the information uses the same key a for data decryption. The single key algorithm is a symmetric algorithm.The algorithm is good at adding/solving speed, the key volume is short,
One place in the project uses the need to encrypt the user ID and pass it to the next contact for the reverse solution. (Forgive me not to disclose too many-_-!), the first thought is a function in the kangsheng ucenter, later searched, in the concise magic also found a simple method, hence the integration of the next, formed its own use of the function.
First, symmetric encryption
The sender uses the sec
-way encryption algorithms are:-MD4 to use the MD4 message digest algorithm-md5 to use the MD5 message digest algorithm-ripemd160 RIPEMD160 Message digest Algorithm-sha to use the Sha Message digest algorithm-sha1 to use the SHA1 message digest algorithm-sha224 to use the sha224 message digest algorithm-sha256 to use the sha256 message digest A
What is symmetric encryption technology?
Symmetric encryption uses symmetric encryption technology, which features that file encryption and decryption use the same key, that is, the
One: symmetric encryption original plaintext ---key --- encrypted data --- key --- original plaintextfast, confusing plaintext through algorithms, consuming less system resourcesTwo: Asymmetric encryptionslow encryption and decryption, high system resource consumptionThree: Hybrid data encryptionencryption process: R
Asymmetric encryption
In 1976, US scholars dime and Henman proposed a new key exchange protocol to solve the problems of public information transfer and key management, allowing communication Parties to exchange information on insecure media, securely reach an agreement on the key, which is the "public key system ". Symmetric encryptionAlgorithmThis method is also called an asymmetric
protocol runs on top of TCP, and all transmitted content is plaintext, and neither the client nor the server can verify the identity of the other.-->https is an HTTP protocol that runs on SSL/TLS, and SSL/TLS runs above TCP. All transmitted content is encrypted and encrypted with symmetric encryption, but the symmetric encry
the DES algorithm's key length and the number of iterations, improved security strength * @ see. However, the desede algorithm processing speed is slow and the key computing time is long, the low encryption efficiency makes the development of symmetric encryption algorithms not optimistic * @ see =====================
In the previous section we talked about the three aspects of encryption:confidentiality, integrity, authenticationIn order to achieve the communication between A and B is confidential, so that the third party even if intercepted information can not be understood, it is necessary to encrypt the plaintext data.We know that encryption is actually implemented using some algorithms ( which is why the relationshi
Simple symmetric encryption algorithm implementation in php and php Encryption Algorithm
Preface
I found a good symmetric encryption algorithm for PHP on the Internet. In the PHP syntax environment, there are symmetric
Label: SP strong on BS amp algorithm management nbsp Method
Features of symmetric key cryptography algorithms:
The algorithm is simple and the encryption/Decryption speed is fast, but the key management is complicated and it is not convenient for digital signatures;
Features of Asymmetric Key Cryptography algorithms
I. What is symmetry?Algorithm?
Symmetric algorithms are also called single-key algorithms, that is, encryption keys can be derived from decryption keys. Likewise, decryption keys can also be derived from encryption keys. To put it bluntly, the
label: des style uses the SP data on BS size algorithm 1. symmetric encryption-key encryptionDesIdeaAESFeatures: Public algorithms, low computing workload, fast encryption speed, and high encryption efficiency,Insufficient: insecurePrinciple: in
In addition to DES, we also know that there are Desede (TripleDES, 3DES), AES, Blowfish, RC2, RC4 (Arcfour) and other symmetric encryption methods, the implementation of the same way, here is another algorithm of symmetric encryption--PBE PBE pbe--password-based Encryption
(i) Symmetric encryption (symmetric cryptography) ----shared key encryptionSymmetric encryption is the fastest and simplest way to encrypt encryption (encryption) and decryption (decryption) with the same key (secret key), which
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.