A semi-autistic mathematical genius Rong Jinzhen is recruited to the cryptography department of China's secret services Unit 701 where he is assigned the task of breaking the elusive 'Code Purple'. Jinzhen rises through the ranks to eventually become China's greatest and most celebrated code-breaker; until he makes a mistake.