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? Link to comment https://forums.phpfreaks.com/topic/207887-php-sha512-encryption/ Share on other sites More sharing options...
Alex Posted July 15, 2010 Share Posted July 15, 2010 echo hash('sha512', 'somesalt' . $password); hash Link to comment https://forums.phpfreaks.com/topic/207887-php-sha512-encryption/#findComment-1086748 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? Link to comment https://forums.phpfreaks.com/topic/207887-php-sha512-encryption/#findComment-1086753 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. Link to comment https://forums.phpfreaks.com/topic/207887-php-sha512-encryption/#findComment-1086767 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.