1. At least one non-transitory computer-readable medium having computer-readable code embodied therein, the computer-readable code configured to enable a computing device, in response to execution of the code, to identify and encrypt a subset of a plurality of instructions, wherein the subset includes a single entry point and a single exit point, to enable one or more instructions of the plurality of instructions that precede or follow the subset to be executed in a first execution environment with a first security level, and to enable the subset to be executed in a second execution environment with a second security level that is more secure than the first security level.