I programmed the Controlled Chaos (ConCh) Encoder for one purpose: I needed something like it for one of my projects. What Controlled Chaos does is encode streams of data into a subset of the ASCII character set. Specifically, Controlled Chaos encodes data in between base 2 and base 94 (there are 94 visible, non-whitespace characters in US_ASCII), using only the visible ASCII characters (no whitespace, no control characters). By default, ConCh streams will assume Base94 for its encoding unless specified other radix.
Due to the nature non-power-of-two encodings, padding is normally necessary for handling the fractional digits (citation needed). Though in the encoder, I made sure there's no nasty little padding bytes. Fractional digits are accounted for by the nature of the encoding.
I'd rather not go into my original motivations for why I needed Base94 specifically when Base64 was such a nice looking encoding, did I really need the 30 extra digits? I did.
Made in Java 7.
Controlled Chaos (ConCh) Encoder
Brought to you by:
axoren
Downloads:
0 This Week