Base32 conversions


The base32 vocabulary supports encoding and decoding of various Base32 encoding formats, including:

Base32 encoding (RFC 3548):
>base32 ( seq -- base32 )

base32> ( base32 -- seq )


Base32 encoding with Extended Hex Alphabet (RFC 4648):
>base32hex ( seq -- base32 )

base32hex> ( base32 -- seq )


Douglas Crockford's Base32 encoding:
>base32-crockford ( n -- base32 )

base32-crockford> ( base32 -- n )

>base32-crockford-checksum ( n -- base32 )

base32-crockford-checksum> ( base32 -- n )


Human-oriented Base32 encoding, described in http://philzimmermann.com/docs/human-oriented-base-32-encoding.txt:
>zbase32 ( seq -- zbase32 )

zbase32> ( zbase32 -- seq )