Password Hash Generator
Generates a PHP password_hash()-compatible bcrypt hash.
Runs entirely in your browser — your password is never sent anywhere.
Generate Hash
How to Use
Paste the generated hash into your config.php or directly in microfilemanager.php:
$auth_users = array(
'yourusername' => 'PASTE_HASH_HERE',
);
Prefer the command line? Generate a hash directly on your server:
php -r "echo password_hash('yourpassword', PASSWORD_DEFAULT) . PHP_EOL;"
Hashes use bcrypt with cost factor 12 — the default PHP 8.4+ uses for
PASSWORD_DEFAULT. Verified with password_verify(). Non-reversible.
PHP accepts $2a$, $2b$, and $2y$ prefixes interchangeably.