Is md5 reversible?

$key = md5 ($str);

now, with this $key, you can get $str, right?

Php
Aug.02,2021

is irreversible. Someone asked the password recovery question before, which is why the password can not be recovered and can only be reset.


irreversible md5 is the abstract algorithm. You $str encrypts a million-word novel into a 32-bit string. Do you think this 32-bit string can parse a million-word novel


one-way encryption algorithm, irreversible


MD5 belongs to hash algorithm, not encryption algorithm.

if you don't add salt, and $str is very short, such as 6 digits, you can get the result by colliding and running the dictionary.

is irreversible, but because of the small number of MD5 bits, collisions are inevitable (different contents calculate the same MD5), so you can look up the table (rainbow table) to find a corresponding string.

if it is used to store passwords, MD5 is not secure. It is recommended to use a hash algorithm above SHA-256.

if it is used for data integrity checking, MD5 can basically meet the requirements.


is irreversible. Reversible need to write their own encryption algorithm. You can also use AES symmetric encryption with high security, and RSA asymmetric encryption

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ae82-2ba9a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ae82-2ba9a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?