I am making a web app and I'm now stuck on making the login secure. I'm thinking of adding a salt to a user-inputted password and then hash it. (md5 or sha for example) and then I will reshuffle the results.
$salt = "hello"; $password = "password"; $newpassword = md5($salt.$password); //lets assume the result is 1234567890
I will reshuffle the order of the hash like exchanging the first and last character then 3rd and 3rd to the last.
the result will look like:
Does this make the password more secure? Please don't suggest some hardcore encryption stuffs. I just need something that will make the passwords secure than just having them encrypted using a cracked hash algorithm.