Agradeceríamos tu ayuda para compartir nuestros tutoriales en referencia a las ciencias de la computación.
Ejemplo: descifrar php md5
As already stated, you cannot decrypt MD5 without attempting something like brute force hacking which is extremely resource intensive, not practical,and unethical.
However you could usesomething like this to encrypt / decrypt passwords/etc safely:$input="SmackFactory";$encrypted=encryptIt($input);$decrypted=decryptIt($encrypted);echo$encrypted.'
'.$decrypted;functionencryptIt($q)$cryptKey='qJB0rGtIn5UB1xG03efyCp';$qEncoded=base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256,md5($cryptKey),$q,MCRYPT_MODE_CBC,md5(md5($cryptKey))));return($qEncoded);functiondecryptIt($q)$cryptKey='qJB0rGtIn5UB1xG03efyCp';$qDecoded=rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256,md5($cryptKey),base64_decode($q),MCRYPT_MODE_CBC,md5(md5($cryptKey)))," ");return($qDecoded);
Using a encypted method with a salt would be even safer, but this would be a good next step past just using a MD5 hash.
Puedes añadir valor a nuestra información asistiendo con tu veteranía en las críticas.
¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)