This is a constant, resolves #25.

This commit is contained in:
flash 2018-04-16 02:36:50 +02:00
parent 1415272ff4
commit a9d1105669

View file

@ -40,7 +40,7 @@ function set_cookie_m(string $name, string $value, int $expires): void
function password_entropy(string $password): int function password_entropy(string $password): int
{ {
return count(count_chars(utf8_decode($password), 1)) * log(256, 2); return count(count_chars(utf8_decode($password), 1)) * 8;
} }
function check_mx_record(string $email): bool function check_mx_record(string $email): bool