advanced code snippet search
sagz on 02/26/11
substr random unique hash seed rand SHA1
02/26/11 04:51am02/26/11 04:00am
1 person have marked this snippet as a favorite
notturnale
$seed = 'Rand0m'; for($i=0; $i<5000; $i++){ echo substr(sha1(uniqid($seed . mt_rand(), true)), 0, 10)."\n";}
Report this snippet Tweet
Comment:
You need to login to post a comment.