1. A method for performing a cryptographic process, the method comprising: receiving a security level for processing the cryptographic process; storing the security level in a control register; transforming a first cryptographic process into a process rewritten to optimize the use of a plurality of large number operations supported within a core processor; and executing the first security process on the core processor based on the security level stored in the control register and how the core processor is implemented.