MAGIC codebreaking