Proposal for "Encode_Base58_GMP"

» Metadata » Status
  • Category: Encode
  • Proposer: John Wang 
  • License: MIT License
  • Status: Proposed
» Description

Base58-GMP-PHP

High speed Base58 encoding using GMP with BigInt support

Base58 is a compact, safe, and readable encoding that uses
alpha-numeric characters only (unlike Base64) and limits
the alphabet to easily readable characters, avoiding
[0OIl] (unlike Base62).

Base58 is used by Flickr and others for URL shortening.

This implementation uses the GNU Multiple Precision
Arithmetic Library (GMP) (http://gmplib.org/) for high
speed encoding and decoding.

A md5_base58 function is also provided for digest
generation

» Dependencies » Links
  • GMP 4.2 or higher.
  • PHP compiled with GMP support, --with-gmp
» Timeline » Changelog
  • First Draft: 2011-11-14
  • Proposal: 2011-11-19