Decrypts an input from ROM