Skip to main content

A Python implementation of Douglas Crockford's base32 encoding

Project description

A Python module implementing the alternate base32 encoding as described by Douglas Crockford at: http://www.crockford.com/wrmg/base32.html.

According to his description, the encoding is designed to:

  • Be human and machine readable

  • Be compact

  • Be error resistant

  • Be pronounceable

It uses a symbol set of 10 digits and 22 letters, excluding I, L O and U. When decoding, the letters ‘i’ and ‘l’ are converted to ‘1’ and ‘o’ is converted to ‘0’. Decoding is not case sensitive and encoding uses only upper-case characters.

Hyphens may be present anywhere in a symbol string to improve readability and are ignored when decoding.

A check symbol may be appended to a symbol string for error detection when decoding the string.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

base32-crockford-0.1.0.tar.gz (4.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page