kaaxqgsf
rnspvfjh
ndtfrdfj
Combination of rand() and md5() function is often used as a simpler alternative:
source code: php
<?phpfunction gen_md5_password($len = 6) { // function calculates 32-digit hexadecimal md5 hash // of some random data return substr(md5(rand().rand()), 0, $len); }?>
No comments:
Post a Comment