cr/hashcli
Composer 安装命令:
composer require cr/hashcli
包简介
HashCLI - PHP CLI Tool For hashing
README 文档
README
Special thanks to Peter Lee ( @peter279k ) for the PR.
What is this?
HashCLI is a PHP CLI tool for hashing and verifying hashes generated with the PHP password_hash() method. This tool was born because of a necessity to constantly having to generate new password hashes and check if old passwords hashes were correct.
Usage:
With Composer
- Run
curl -sS https://getcomposer.org/installer | phpto download the composer.phar - Run
php composer.phar require cr/hashcli(composer require cr/hashcli:dev-mastersince this is not a stable release yet ).
vendor/bin/hashCLI hash [password]: To hash the password.
vendor/bin/hashCLI check [password] [hash]: To check if the hash corresponds to the password.
vendor/bin/hashCLI help: For help.
Without Composer
- Run
git clone https://github.com/DailyMatters/hashCLI.git - Run
php build.phpthen get thehashCLI.phar
php hashCLI.phar hash [password]: To hash the password.
php hashCLI.phar check [password] [hash]: To check if the hash corresponds to the password.
php hashCLI.phar help: For help.
On Packagist
https://packagist.org/packages/cr/hashcli
License
The MIT License (MIT)
统计信息
- 总下载量: 8.36k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-12-13