by ElbertF · 16y ago · 0 comments
$hash = sha1('foo' . $username . $password);
Can someone explain to me why or when this isn't good enough?There was an article linked a while ago that plotted prices to crack common hashes using Amazon's cloud, and even for 8 length alphanumeric + symbol it was over $50,000 of estimated computing, adding a significant unique salt (username in this case) would make it unjustifiable from a monetary point of view.