This invention especially regards software encoding method and software code-breaking method and the software encoding device and the software code-breaking device in regard to the field of computer security. Code-breaking process of this invention includes the step below: Step 201, n of 2nd software cryptogram, t of the threshold value secret key the factor is selected from the paragraph to random; 2nd 1st software cryptogram and secret key cryptogram PSK are reconstructed from software cryptogram, n is the correct integer which is larger than 1 here, t is below n: Step 202: It extracts secret key cryptogram PSK, the description above t of the threshold value secret key follows to the factor and draws up the 2nd secret key, code it deciphers secret key cryptogram PSK in 1st secret key SK making use of this 2nd secret key; The aforementioned 1st software cryptogram code is deciphered step 203, making use of the aforementioned 1st secret key SK. As for advantage of this invention, improving the protection of the software cipher key, the cracker is to make that the crack it does the software difficult by pursuing software loading process.
展开▼