9
This commit is contained in:
@@ -86,6 +86,8 @@ class Random
|
||||
case 'encrypt':
|
||||
case 'sha1':
|
||||
return sha1(uniqid(mt_rand(), true));
|
||||
default:
|
||||
return substr(str_shuffle(str_repeat($type, ceil($len / strlen($type)))), 0, $len);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user