2017 © Pedro Peláez
 

library base32

Base32 encoding and decoding class (RFC 4648, RFC 4648 extended hex, Crockford, z-base-32/Zooko).

image

skleeschulte/base32

Base32 encoding and decoding class (RFC 4648, RFC 4648 extended hex, Crockford, z-base-32/Zooko).

  • Friday, June 16, 2017
  • by skleeschulte
  • Repository
  • 1 Watchers
  • 15 Stars
  • 29,331 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 16 % Grown

The README.md

php-base32

PHP base32 encoding/decoding class (RFC 4648 standard and extended hex, Crockford, z-base-32/Zooko), (*1)

This class provides static methods to encode and decode data to/from the following encodings: - base32 (RFC 4648) - base32 extended hex (RFC 4648) - base32 Crockford - base32 Zooko (z-base-32), (*2)

For each encoding, there are methods for encoding/decoding byte-strings and for encoding/decoding non-negative integers of arbitrary length. To handle integers of arbitrary length, PHP's BC Math extension is used whenever PHP's internal integer type is not sufficient to store/process the data., (*3)

All exceptions thrown by this class will have an exception code corresponding to one of the codes defined in the class constants at the beginning of the class., (*4)

This class is designed to be fast and memory efficient and is fully documented using PHPDoc-blocks., (*5)

Installation

By composer, (*6)

composer require skleeschulte/base32

manual:, (*7)

wget https://codeload.github.com/skleeschulte/php-base32/zip/master

If you find any bugs or have suggestions for improvements, you are welcome to create a new issue at https://github.com/skleeschulte/php-base32/issues ., (*8)

The Versions

16/06 2017

dev-master

9999999-dev https://github.com/skleeschulte/php-base32

Base32 encoding and decoding class (RFC 4648, RFC 4648 extended hex, Crockford, z-base-32/Zooko).

  Sources   Download

MIT

The Requires

  • php >=5.2.0

 

base32 encode decode integer bcmath crockford rfc4686 z-base-32 zooko bytestring

19/11 2015

0.0.2

0.0.2.0 https://github.com/skleeschulte/php-base32

Base32 encoding and decoding class (RFC 4648, RFC 4648 extended hex, Crockford, z-base-32/Zooko).

  Sources   Download

MIT

The Requires

  • php >=5.2.0

 

base32 encode decode integer bcmath crockford rfc4686 z-base-32 zooko bytestring