sendinblue/base-32 问题修复 & 功能扩展

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

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

sendinblue/base-32

Composer 安装命令:

composer require sendinblue/base-32

包简介

RFC 3548 and 4648 compliant base 32 encoder/decoder

README 文档

README

RFC 3548 and 4648 compliant base 32 encoder/decoder.

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this library:

$ composer require sendinblue/base-32 "~1"

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Usage

This library provides a \SendinBlue\Base32 class which exposes a encode and decode method, that’s it!

You can also set encode’s second argument $padding to false to avoid including any padding into the encoded string.

<?php

use SendinBlue\Base32;

echo
    Base32::encode('foobar'),           // MZXW6YTBOI======
    Base32::encode('foobar', false),    // MZXW6YTBOI
    Base32::decode('MZXW6YTBOI======'), // foobar
    Base32::decode('MZXW6YTBOI')        // foobar
;

Performance

This library has been profiled with blackfire against

  • christian-riesen/base32
  • paragonie/constant_time_encoding
  • skleeschulte/base32
  • togos/base32
  • peterbodnar.com/base32
  • chillerlan/php-base32

and it outperformed them all both on time and memory.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固