A secret key
service system of an intelligent card comprises card issuing equipment 100, a front-end processor 200 and an
encryption end 300. The card issuing equipment 100 is composed of a plurality of card slots, each card slot is used as an independent
client to generate card issuing information, an instruction interface is called to encapsulate the card issuing information into an
encryption request instruction in a unified format, and the
encryption request instruction at least comprises an instruction type, to-be-encrypted data, an encryption mode and a reference key index. The front-end processor 200 is used as a key service to analyze the encryption request instruction to obtain the instruction type, the to-be-encrypted data, the encryption mode and the reference key index, a corresponding dynamic
library, an
IP address and a port number are called by the configuration file according to the instruction type, and the parameters are transmitted into the called dynamic
library to generate an instruction for the encryption
machine, and are sent to a corresponding encryption
machine. The interface of the encryption
machine analyzes the encryption instruction to obtain data to be encrypted and an encryption mode, encryption
processing is carried out according to the encryption data, the encryption mode and the reference key index in the encryption instruction to obtain an encryption result, and the encryption result is repackaged into an encryption result in a unified format by the front-end processor 200. The card issuing equipment analyzes the encryption result and writes the secret key and the encrypted user data into the card.