Patent ID: 11899776
Assignee: HON HAI PRECISION INDUSTRY CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 8:
9. A method for authenticating a software based on a blockchain implemented in an electronic device comprising:
obtaining a first identification code and a first hash value of a first software;
generating a first authentication code by performing an encryption operation on the first identification code and the first hash value;
writing the first identification code, the first hash value, and the first authentication code into a blockchain as authentication information of the first software;
obtaining a second identification code of a second software to be authenticated and calculating a second hash value of the second software;
determining whether the second hash value of the second software is the same as the first hash value;
generating, in response that the second hash value of the second software is determined to be the same as the first hash value, a second authentication code by performing the encryption operation on the second identification code and the second hash value;
determine whether the second authentication code is the same as the first authentication code; and
determine, in response that the second authentication code is determined to be the same as the first authentication code, that the second software is copyrighted.