1. A method comprising: generating a pseudorandom value; selecting one or more instruction sequences of a first integrated code based on the pseudorandom value; and generating second integrated code by one of (1) transforming the first integrated code into the second integrated code by replacing the one or more instruction sequences with equivalent instruction sequences, or (2) transforming the first integrated code into the second integrated code via optimizing the one or more selected instruction sequences.