actweb/mnemonic
Composer 安装命令:
composer require actweb/mnemonic
包简介
Converts passed text into mnemonic text, ideal for making passwords easier to read, also includes a password generator
关键字:
README 文档
README
Converts passed string into an array of mnemonic words
Static method called :
$output=\actweb\Mnemonic::convert($string);
Where $string='hEllow wOrld!'
Output would be :
Hotel
Uppercase Echo
Lima
Lima
Oscar
Whisky
Space
Whisky
Uppercase Oscar
Romeo
Lima
Delta
Exclamation Mark
Script can also be called from command line, and takes a single parameter as $string
When called from CLI, script just outputs the mnemonic to STDOUT
New static class added that returns a password from Dinopass.com
can be called with 'strong' or 'simple' to get a strong password or a simple one the default is a strong password.
Static method : \actweb\Mnemonic::genPass([|])
Makes an API call to 'dinopass.com' and returns a password.
Please see the website http://dinopass.com for the definition of strong and simple passwords.
PLEASE NOTE : I have been unable to contact Kevan Stannard in the past to request his permission to use his API within this class, if anyone can indicate that he is not happy about me usng his API within this class, please let me know and i will remove the code.
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL
- 更新时间: 2018-05-25