An open API service indexing awesome lists of open source software.

https://github.com/sendinblue/base-32

RFC 3548 and 4648 compliant base 32 encoder/decoder
https://github.com/sendinblue/base-32

base32 decoder encoder rfc-3548 rfc-4648

Last synced: 3 months ago
JSON representation

RFC 3548 and 4648 compliant base 32 encoder/decoder

Awesome Lists containing this project

README

          

# sendinblue/base-32

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:

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

This command requires you to have Composer installed globally, as explained
in the [installation chapter](https://getcomposer.org/doc/00-intro.md)
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