tobeyt23 Posted July 15, 2010 Share Posted July 15, 2010 I was asked to use SHA512 encryption with a passphrase and salt. How would I go about doing so? Quote Link to comment Share on other sites More sharing options...
Alex Posted July 15, 2010 Share Posted July 15, 2010 echo hash('sha512', 'somesalt' . $password); hash Quote Link to comment Share on other sites More sharing options...
tobeyt23 Posted July 15, 2010 Author Share Posted July 15, 2010 So what do i do with the passphrase they sent along? Quote Link to comment Share on other sites More sharing options...
Alex Posted July 15, 2010 Share Posted July 15, 2010 In the code I provided that's what $password is. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.