ShaolinF Posted April 30, 2010 Share Posted April 30, 2010 Hi Guys Do you think the following is an overkill for a salt: $salt = substr(hash('sha256',uniqid(md5(rand()), TRUE)),0,20); Link to comment https://forums.phpfreaks.com/topic/200279-overkill-for-salt/ Share on other sites More sharing options...
Mchl Posted April 30, 2010 Share Posted April 30, 2010 not random enough Link to comment https://forums.phpfreaks.com/topic/200279-overkill-for-salt/#findComment-1051048 Share on other sites More sharing options...
Ken2k7 Posted April 30, 2010 Share Posted April 30, 2010 not random enough lol Link to comment https://forums.phpfreaks.com/topic/200279-overkill-for-salt/#findComment-1051057 Share on other sites More sharing options...
salathe Posted April 30, 2010 Share Posted April 30, 2010 lol He's right though. Link to comment https://forums.phpfreaks.com/topic/200279-overkill-for-salt/#findComment-1051066 Share on other sites More sharing options...
Ken2k7 Posted April 30, 2010 Share Posted April 30, 2010 lol He's right though. It was just funny to read that response to the OP's question because it didn't answer the question directly. Link to comment https://forums.phpfreaks.com/topic/200279-overkill-for-salt/#findComment-1051078 Share on other sites More sharing options...
ShaolinF Posted April 30, 2010 Author Share Posted April 30, 2010 Right, Im going to make it so random its going to send the cryptos running for their money. Link to comment https://forums.phpfreaks.com/topic/200279-overkill-for-salt/#findComment-1051080 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.