pedrosancao/php-random-data
最新稳定版本:v1.0.0
Composer 安装命令:
composer require pedrosancao/php-random-data
包简介
small library generates high entropy random data
README 文档
README
This small library generates high entropy random data from /dev/urandom
Aimed to UNIX based systems but has fallbacks for other systems
Formats
Generate data in these formats:
- raw
- integer
- hexadecimal
Requirements
php >= 5.4
Installation
Preferable use composer
composer require pedrosancao/php-random-data
Usage
$bytes = \PedroSancao\Random::raw($length); $int = \PedroSancao\Random::int($length); $hex = \PedroSancao\Random::hex($length);
To do list
- add new types (text, dummy base64, etc.)
Licence
MIT, see LICENCE.
Recommended reading
统计信息
- 总下载量: 57.46k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-09-09