| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Base32 string encoder based on RFC 4648.
Via Composer
$ composer require selective/base32
<?php
use Selective\Base32\Base32;
$str = 'abc 1234';
$base32 = new Base32();
// Encode
// MFRGGIBRGIZTI====
$encoded = $base32->encode($str);
// Decode
// abc 1234
echo $base32->decode($encoded); <?php
$str = 'abc 1234';
// Encode
$encoded = $base32->encode($str, false);
// mfrggibrgizti
$encoded = strtolower($enc);
// Decode
echo $base32->decode($encoded);$ composer testPlease see CONTRIBUTING and CONDUCT for details.
The MIT License (MIT). Please see License File for more information.
| Back | FazBrowse Home | New Git URL |