Cenzic 232 Patent
Paid Advertising
sla.ckers.org is
ha.ckers sla.cking
Whether this is about ha.ckers.org, sla.ckers.org or some other project you are interested in or want to talk about, throw it in here to get feedback. 

Current Page: 1 of 1
Results 1 - 1 of 1
4 years ago
Okay, so I'm using PHP and want to make an encryption method for storing a random value in the user's cookie as a method of authentication so they don't need to log back in every time they visit the site. Would the code below be secure? $salt = "some random characters I made up"; hash('sha256', $salt.microtime(true).mt_rand(10000000,99999999)); Thanks!
Forum: Projects
Current Page: 1 of 1