This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
# Copyright (c) 2023 James Finstrom. All rights reserved. | |
# This work is licensed under the terms of the MIT license. | |
# For a copy, see <https://opensource.org/licenses/MIT>. | |
# Usage: ./GenerateUsermanPasswordHash.php Passw0rdString | |
# | |
<?php | |
if(empty($argv[1]){ | |
echo "You must provide a string to hash" . PHP_EOL | |
return 1; |