Home> Common Problem> body text

Is md5 encryption reversible?

青灯夜游
Release: 2019-06-18 11:04:27
Original
11852 people have browsed it

Is md5 encryption reversible?

As of now, the MD5 encryption algorithm is irreversible.

The reason why MD5 is irreversible is that it is a hash function (also called hash function, hash function). It is a one-way cryptosystem, that is, an irreversible mapping from plaintext to ciphertext. Only the encryption process There is no decryption process).

The hash function can change an input of any length to obtain a fixed-length output. This fixed-length output is called the hash or message map of the original message. An ideal hash function can get different outputs for different inputs. If two different messages get the same hash value, we call it a collision.

The hash algorithm is used, and part of the information in the original text is lost during the calculation process.

One MD5 can theoretically correspond to multiple original texts, because there are finitely many MD5s and infinitely many original texts.

MD5 code is a 128-bit binary number. There are up to 2^128 possibilities, but the number of strings obviously has countless possibilities.

The above is the detailed content of Is md5 encryption reversible?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!