The past tense of crack the code is cracked the code.
The third-person singular simple present indicative form of crack the code is cracks the code.
The present participle of crack the code is cracking the code.
The past participle of crack the code is cracked the code.