1. A method for preventing stack buffer overflow in a computer system, comprising steps of: (a) prior to their execution, scanning opcodes for a trigger opcode; (b) for each trigger opcode found, encrypting an operand associated with the trigger opcode; (c) at execution of the trigger opcode, using the operand's corresponding encrypted value instead of the operand's actual value.