mirror of
https://github.com/YunoHost-Apps/tinyfilemanager_ynh.git
synced 2024-09-03 20:36:01 +02:00
Create hash.php
This commit is contained in:
parent
90d0be749f
commit
a1c565a290
1 changed files with 9 additions and 0 deletions
9
scripts/hash.php
Normal file
9
scripts/hash.php
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$hashed_password = password_hash($argv[1], PASSWORD_DEFAULT);
|
||||||
|
//var_dump($hashed_password);
|
||||||
|
//echo $hashed_password;
|
||||||
|
print $hashed_password;
|
||||||
|
// usage : 'php hash.php password' will output the hash.
|
||||||
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue