Iterative decoding : <p>So, I have a cipher that I would need to break. I have the key, but the problem is that every number in a cipher corresponds to three or two letters. For example, if we had the cipher '12', and we know that '1' corresponds to either 'A', 'J' or 'S', and '2' corresponds to 'B', 'K' or 'T', we would need to output all possible combinations, so: 'AB', 'AK', 'AT', 'JB', 'JK', 'JT', 'SB', 'SK', 'ST'. How would I go around doing this in C#? </p>

<p>Thanks in advance. </p>
