mhauri/base45 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mhauri/base45

最新稳定版本:0.1.1

Composer 安装命令:

composer require mhauri/base45

包简介

base45 encoder/decoder

README 文档

README

base45 is a PHP based base45 encoder/decoder that is fully compatible with draft-faltstrom-base45-03.

GitHub Workflow Status (event) Codecov Software License

Introduction

When using QR or Aztec codes a different encoding scheme is needed than the already established base 64, base 32 and base 16 encoding schemes that are described in RFC RFC4648. The difference from those and base 45 is the key table and that the padding with '=' is not required.

Install

Install with composer.

$ composer require mhauri/base45

Usage

$base45 = new \Mhauri\Base45();

$encoded = $base45->encode(random_bytes(128));
$decoded = $base45->decode($encoded);

Testing

$ make test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email marcel@hauri.dev instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 63.31k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 1
  • 依赖项目数: 5
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-06-23