radermacher / PHP-Base32

A crappy Base32 Library for PHP

Home Page:http://labs.nticompassinc.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
?>

About

A crappy Base32 Library for PHP

http://labs.nticompassinc.com