- Notifications
You must be signed in to change notification settings - Fork10
Human-oriented encoding for binary data
License
NotificationsYou must be signed in to change notification settings
tv42/zbase32
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Packagezbase32
implements thez-base-32
encoding as specified inhttp://philzimmermann.com/docs/human-oriented-base-32-encoding.txt
This package has been extensively tested to match the behavior of thezbase32 Python package.
Note that this isnot RFC 4648/3548, for that seeencoding/base32.z-base-32
is a variant that aims to be more human-friendly, and in somecircumstances shorter.
For usage, seegodoc.
Included are simple command-line utilities for encoding/decoding data.Example:
$echo hello, world| zbase32-encodepb1sa5dxfoo8q551pt1yw$zbase32-decode pb1sa5dxfoo8q551pt1ywhello, world$printf'\x01binary!!!1\x00'| zbase32-encodeyftg15ubqjh1nejbgryy$zbase32-decode yftg15ubqjh1nejbgryy| hexdump -C00000000 01 62 69 6e 61 72 79 21 21 21 31 00 |.binary!!!1.|0000000c