If the password is salted
(a long salt with random characters)
and you have a strong password, then the MD5 databases wouldn't be enough (well, except if you have the salt)
When I make a script for saving password, I always do a simple base64_encode, then enter the password, then encode the pwd, inserts the salt, then I do a fair amount of encodings, something like this:
Code:
<?php
$pwd = base64_encode ($pwd); // I tend to remove this line, as it has no use in most cases.
$pwd = sha1($pwd);
$pwd = sha1($salt . $pwd);
for($x=1;$x<=10;$x++) { //10 is just an example, I change this for every website
$pwd = sha1($pwd);
}
?>
But don't take my word that this will be alot better, but it will slow down the hacker/cracker as he needs to figure out how I do my encoding.
If everyone used the same encoding method, a hacker/cracker would have no troubles cracking the code