Please how to decode md5, i use md5 to insert member pass to database, how can get the original password back from db.
md5 decode
Collapse
X
-
google is the best md5 decoder tool :P but that wont decode everything lol
Added after 3 minutes:
i guess you could ask Ronald Rivest for the algorithm to decode it roflLast edited by something else; 16.04.11, 19:19.
Comment
-
yeah its surprising that no one has figured out md5 algorithm as is 20 years old nowLast edited by something else; 16.04.11, 19:37.
Comment
-
Encoded
PHP Code:<?PHP
$text = "PHP rocks!";
$encoded = PREG_REPLACE(
"'(.)'e"
,"dechex(ord('\\1'))"
,$text
);
PRINT "ENCODED: $encoded\n";
?>
Decode
PHP Code:<?PHP
PRINT "DECODED: ".PREG_REPLACE(
"'([\S,\d]{2})'e"
,"chr(hexdec('\\1'))"
,$encoded)."\n";
?>Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
-
PHP Code:<?php
// :::: encode your password :::: //
function encode($string,$key) {
$key = sha1($key);
$strLen = strlen($string);
$keyLen = strlen($key);
for ($i = 0; $i < $strLen; $i++) {
$ordStr = ord(substr($string,$i,1));
if ($j == $keyLen) { $j = 0; }
$ordKey = ord(substr($key,$j,1));
$j++;
$hash .= strrev(base_convert(dechex($ordStr + $ordKey),16,36));
}
return $hash;
}
// :::: Decode your password :::: //
function decode($string,$key) {
$key = sha1($key);
$strLen = strlen($string);
$keyLen = strlen($key);
for ($i = 0; $i < $strLen; $i+=2) {
$ordStr = hexdec(base_convert(strrev(substr($string,$i,2)),36,16));
if ($j == $keyLen) { $j = 0; }
$ordKey = ord(substr($key,$j,1));
$j++;
$hash .= chr($ordStr - $ordKey);
}
return $hash;
}
?>
How to use.
Encode:
echo encode("Please Encode Me!","Your Hidden Password To EnCode!");
Result:
p3e4e4241674d2r4m4i5o464a4f2p3k5c2
Decode:
echo decode("p3e4e4241674d2r4m4i5o464a4f2p3k5c2","Your Hidden Password To EnCode!");
Result:
Please Encode Me!
Now this is Hard to Crack or better off not building a siteVisit: Chat4u.mobi - The New Lay Of being a site of your dreams!
Visit: WapMasterz Coming Back Soon!
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Comment
Comment