rpnanhai / huami
a password generate tool——huami https://flowerpassword.com/
v1.0.3
2019-01-08 04:53 UTC
Requires
- php: >=5.4
- symfony/console: >3.0
Requires (Dev)
- phpunit/phpunit: ~4.8
- satooshi/php-coveralls: ~1.0
This package is auto-updated.
Last update: 2025-04-08 18:37:32 UTC
README
花密(PHP CLI 版本),一个密码生成管理工具,原理和思路详见花密官网
安装
$ composer global require rpnanhai/huami
如果你的 ~/.composer/vendor/bin
没添加到 PATH
可以:
$ export PATH="$PATH:$HOME/.composer/vendor/bin"
使用
Usage:
huami <password> <key>
Arguments:
password your unforget password
key the web sign
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Help:
a password generate tool
例子:
$ huami 123 qq
如果你是mac系统的话,密码会自动复制到你的粘贴板^v^。
另外如需设置自己的加密key,在项目根目录把 config.ini.bak
修改为 config.ini
,内容格式如下:
[huami]
strOne=rpnanhai
strTwo=huami
strThree=abcdef123456set
License
MIT