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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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