The present invention discloses a method which can prevent the terminal
software from being embezzled, the
encryption flow is as follows: a plain code, a key1 and a key 2 are set, the key 1 is used to encrypt the plain code to get a
password, the key 2 is used to encrypt the key 1 to get a key 3, at last, the
password and the key3 are stored in a
microprocessor, the key 2 is stored into a memory; the decryption flow is as follows:
authentication software reads the
password and the key 3 from the
microprocessor, and the key2 is read from the memory, the decryption is performed to get the plain code, the plain code is used to judge whether the plain code is as same as the pre-set plain code, if the plain code is as same as the pre-set plain code, then the decryption is successful, otherwise, the decryption is failure. At the same time, a device which prevents the terminal
software from being embezzled is disclosed, the device includes a
microprocessor used to store the password and the key3; a memory used to store the key2, and a processor unit used to implement the
authentication of terminal software. Through the present invention, the terminal scheme provider is enabled to possess a set of completely independent terminal
software protection mechanisms.