Codifying Chaos