The invention relates to an anti-interception code
encryption burning method, the specific steps are as follows: the
chip to be burned uses the built-in
manufacturer code Num and the random number X just generated as the seed, and generates the decryption key of the burning code
ciphertext Code1 through calculation Key; take the
manufacturer code Num and random number X as seeds, and generate the
encryption key Key of the burning code Code0 through calculation, random number X+
manufacturer code Num=key Key; the burning tool of the PC uses the
encryption and decryption
algorithm to burn the The code Code0 is converted into the
ciphertext Code1, and the
integrity check value CalibNum is generated from the
ciphertext Code1; the programmed
chip combines the received
integrity check value CalibNum to verify the integrity of the ciphertext Code1, and the burned
chip passes the boot Code, the decrypted ciphertext Code1 is the burning code Code0, which is written into the chip code storage medium. The beneficial effect of the invention is that the ciphertext of the burning code is different every time burning, which can prevent interception and burning. The
programming code is integrated in the
programming tool to prevent the same
programming tool from being created by
copying the
software.