Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi can anyone show me the proper way of how to use SHA2 in php with salt?
Posted

1 solution

First of all, you just need a proper name for a particular algorithm from the SHA-2 family. Please see: http://en.wikipedia.org/wiki/SHA-2[^].

And this is how it's done with PHP: http://php.net/manual/en/function.hash.php[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900