mirror of
https://github.com/sigmasternchen/drnk.me
synced 2025-03-15 09:48:54 +00:00
feat: Change charset
Remove vocals to substitution characters so no words are possible.
This commit is contained in:
parent
9fd3f3f8ec
commit
541100e6ac
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ const MAX_LENGTH = 20;
|
||||||
const DEFAULT_SCHEMA = "http://";
|
const DEFAULT_SCHEMA = "http://";
|
||||||
|
|
||||||
function generateCandidate(string $length) {
|
function generateCandidate(string $length) {
|
||||||
$charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
//$charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
||||||
|
$charset = "bcdfghklmnpqrstvwxyzBCDFGHKLMNPQRSTVWXYZ256789";
|
||||||
|
|
||||||
return join("",
|
return join("",
|
||||||
array_map(
|
array_map(
|
||||||
|
|
Loading…
Reference in a new issue