To decode the code, you must look for patterns of letters and then substitute guesses for the real letters. In Random Alphabet encoding, “SCIENCE” may be encoded as “AXBYKXY”. In Rotated Alphabet encoding, all the letters are rotated a certain amount.