A crappy Base32 Library for PHP
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Base32.php
README.md

README.md

Base32 For PHP

This is a Base32 library for PHP.

It supports RFC 4648 or Crockford's implementation (http://www.crockford.com/wrmg/base32.html).

It does not support the check digit from Crockford's implementation yet.

Use:

<?php
  include 'Base32.php'
  $a = new Base32();
  $base32 = $a->base32_encode('Test'); // KRSXG5A=
  $string = $a->base32_decode('KRSXG5A='); // Test
?>