Mass update

This commit is contained in:
2022-12-30 21:03:37 +02:00
parent 7a5dfd22a7
commit e9ec7eb2f2
172 changed files with 14838 additions and 35914 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
class PassGen
{
public static function new($length = 8)
{
return substr(
preg_replace(
"/[^a-zA-Z0-9]/",
"",
base64_encode(openssl_random_pseudo_bytes($length + 1))
),
0,
$length
);
}
}