摘要 |
Provided are a method and an apparatus for generating a serial number which is granted to a predetermined product such as software. In the method, basic identification code data including data on a current date or random numbers are generated, and identification code data is generated using the basic identification code data. Rule data on conditions of the use of the product are set. MAC data is generated by substituting the identification code data and the rule data into a HASH function. The identification code data, the rule data, and the MAC data are coded using a predetermined encryption key to generate the serial number. Accordingly, a serial number can be created having the predetermined period of validity or authorisation to use a product for only authenticated users. Thus, several functions can be recognized using the serial number.
|