摘要 |
The invention proposes a method of generating an identification code (C3) for an object, this identification code identifying in a unique manner the object and being intended to be affixed to the latter, the method being implemented in a code generating unit integrated into a hardware security module in which is stored a secret encryption key, said method comprising: a step of obtaining (E40), by the code generating unit, an identifier (ID3) of the object determined on the basis of at least one production parameter for the object; a step of generating (E50), by the code generating unit, a digital signature (SIG) on the basis of said identifier by using a cryptographic hash function parametrized by the secret encryption key (K); and a step of generating (E60), by the code generating unit, the identification code for the object on the basis of the digital signature (SIG). |