定制 cr/hashcli 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cr/hashcli

Composer 安装命令:

composer require cr/hashcli

包简介

HashCLI - PHP CLI Tool For hashing

关键字:

README 文档

README

Build Status

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 | php to download the composer.phar
  • Run php composer.phar require cr/hashcli ( composer require cr/hashcli:dev-master since 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.php then get the hashCLI.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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-12-13