PHP Classes

Base32: Encode and decode data with MIME base 32 encoding

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,492 All time: 2,621 This week: 284Up
Version License Categories
base32 1.0.0GNU General Publi...PHP 5, Text processing


This class can be used to encode data in MIME base 32 encoding according to the RFC 3548 specification.

There are 3 output character sets available:
* RFC 3548 (A-Z2-7)
* Safe (0-9A-HJKMNP-TV-Z)
* Hex like (0-9A-V)

Base 32 is similar to base 64, except that it uses only letters and digits, but no symbols, so it is more immune to character loss due to misinterpretation during transmission.

Picture of Shannon Wynter
Name: Shannon Wynter is available for providing paid consulting. Contact Shannon Wynter .
Classes: 9 packages by
Country: Australia Australia
Age: 41
All time rank: 1242 in Australia Australia
Week rank: 503 Down7 in Australia Australia Down
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file class.base32.php5 Class The actual class
Accessible without login Plain text file example.php Example An example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,621
This week:284Up
User Comments (2)
Extremely outdated.
7 years ago (Haseeb Ahmad Basil)
Line 129 needs to have the "bindec" callback quoted, as in: ...
11 years ago (David Kelly)