tishotm/crockford-base32
最新稳定版本:v1.0.1
Composer 安装命令:
composer require tishotm/crockford-base32
包简介
Crockford Base32 Encoding
README 文档
README
"Base 32 is a textual 32-symbol notation for expressing numbers in a form that can be conveniently and accurately transmitted between humans and computer systems. It can be used for out of band communication of public keys."
https://www.crockford.com/base32.html
Requirements
- BCMath PHP extension - https://www.php.net/manual/en/book.bc.php
- moontoast/math - Apache-2.0 License
Installation
composer require tishotm/crockford-base32
Usage
use TishoTM\Crockford\Base32 as Crockford; // "14S-C0P-JV" $encoded = Crockford::encode("1234567890", true, 3); // 1234567890 $decoded = Crockford::decode("14S-C0P-JV", true);
License
Credits
统计信息
- 总下载量: 2.33k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-02-11