rpnanhai / huami
a password generate tool——huami https://flowerpassword.com/
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 1
Forks: 0
pkg:composer/rpnanhai/huami
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-10-08 19:47:22 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