An embodiment of the present general inventive concept may be achieved by providing a computer readable medium to contain computer-readable codes as a program to perform a method, the method including performing cryptographic data communication with a main body of an image forming apparatus using an operating system (OS) of a central processing unit (CPU), which is separate from an OS of the image