A Probabilistic Basis for a Deterministic Code