jamesxg1 Posted October 3, 2009 Share Posted October 3, 2009 $salt = bin2hex(sha1(md5(mhash(MHASH_CRC32, $my_salt_value_here)))); $password = mysql_real_escape_string(trim(addslashes(strip_tags(bin2hex(sha1(md5(mhash(MHASH_CRC32, $password . $salt)))))))); Would a hacker or cracker be able to decode or decrypt this ?, If so how long would it take them ?. Many thanks, James. Quote Link to comment https://forums.phpfreaks.com/topic/176428-solved-would-a-hacker-or-cracker-be-able-to-decrypt-this/ Share on other sites More sharing options...
MadTechie Posted October 3, 2009 Share Posted October 3, 2009 No, but they couldn't technically hack md5("balls"); either.. before this debate starts all over.. please read What is the point of MD5? EDIT: side note: why not just use SHA-256 with two salt's Quote Link to comment https://forums.phpfreaks.com/topic/176428-solved-would-a-hacker-or-cracker-be-able-to-decrypt-this/#findComment-929957 Share on other sites More sharing options...
jamesxg1 Posted October 3, 2009 Author Share Posted October 3, 2009 Lmfao, Detabe ended you have just answered my question lol. Thanks mate, Many thanks, James. Quote Link to comment https://forums.phpfreaks.com/topic/176428-solved-would-a-hacker-or-cracker-be-able-to-decrypt-this/#findComment-929958 Share on other sites More sharing options...
MadTechie Posted October 3, 2009 Share Posted October 3, 2009 One more note.. when someone writes a routine like that to bolt the door shut.. they normally forget about the windows, remember securing the password so it can't be reversed isn't the start & end of security.. someone may not be-able to reverse the password back but they could just overwrite it.. Quote Link to comment https://forums.phpfreaks.com/topic/176428-solved-would-a-hacker-or-cracker-be-able-to-decrypt-this/#findComment-929959 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.