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); Quote 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 Quote 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 Quote 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. Quote 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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/200279-overkill-for-salt/#findComment-1051080 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.