AzizLight on 09/24/09
Last Edited at 09/24/09 06:55pm
$seed = 'JvKnrQWPsThuJteNQAuH';$hash = sha1(uniqid($seed . mt_rand(), true)); # To get a shorter version of the hash, just use substr$hash = substr($hash, 0, 10);
Report this snippet Tweet
Comment:
You need to login to post a comment.