17. A non-transitory computer readable medium having instructions executable by a processor for performing a method, the method comprising: generating a diverse program based on a compiled program, wherein the diverse program and the compiled program each comprise instructions implemented as machine code instructions and/or assembly language instructions, wherein the diverse program and the compiled program are configured to provide a given output value in response to a given input value, wherein the compiled program and the diverse program have different instructions and an equal number of instructions.
20. The non-transitory computer readable medium of claim 17 , wherein the generating further comprises implementing algorithmic diversity between the diverse program and the compiled program, such that a given series of instructions of the diverse program provides the same function as another series of instructions in the compiled program, wherein the given series of instructions is configured to execute in a different order than the another series of instructions and the given series of instructions is configured to access a different register and/or memory location than the another series of instructions.