how to implement sha 512,md5 and salt encryption all for one password [duplicate]
问题 This question already has answers here : Secure hash and salt for PHP passwords (14 answers) Closed 5 years ago . $pass="test" the above variable contains a password called test.I want to hash this password using sha512 md5 and salt how do i do that as ive found only benifits of salt and sha512,i allready know md5 encryption.please i need the solution as my system is vunerable and please explain it with a code example because im still attached to md5 from what ive understood by your comments