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.

Project Activity

See All Activity >

Follow Controlled Chaos (ConCh) Encoder

Controlled Chaos (ConCh) Encoder Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Controlled Chaos (ConCh) Encoder!

Additional Project Details

Registered

2013-07-02