mehedimi/bcrypt-cli
最新稳定版本:0.1.0
Composer 安装命令:
composer require mehedimi/bcrypt-cli
包简介
A bcrypt command line tool
README 文档
README
A bcrypt command line tool
Installation
composer global require mehedimi/bcrypt-cli
Generate Hash
To make a hash of a string, you need to just run the make command, Like bellow
bcrypt make YOUR_SECRET_TEXT
Output
Text: secret
Hash: $2y$10$jn/PQTiAiIOCs1u7CYOD5ePHQ6Qfe1smj7/eXPv.sAhPz3MnksJKm
Matching the Hash
You can check a hash token against a text by using verify command. Like bellow
bcrypt verify secret
It will ask you to provide hash token
Please enter the hash: $2y$10$jn/PQTiAiIOCs1u7CYOD5ePHQ6Qfe1smj7/eXPv.sAhPz3MnksJKm
Output
Text: secret
Hash: $2y$10$jn/PQTiAiIOCs1u7CYOD5ePHQ6Qfe1smj7/eXPv.sAhPz3MnksJKm
Match: Yes
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-07