1. Field of the Invention
The present invention relates in general to preventing a program, which has been transmitted through a computer communication network such as the Internet, from being illegally reproduced. More particularly, the invention relates to an apparatus and method for encrypting a digital data file in such a manner that the digital data file cannot be decrypted even if the encrypted data file is intercepted while being downloaded to a digital data player.
2. Description of the Related Art
MP3 (shorthand for MPEG-1 Layer 3 Audio) is one of various available digital data formats for audio data. An MP3 player is a new notional, portable digital device capable of readily downloading and reproducing desired data from a computer communication network using an audio data compression coding technique prescribed in MPEG-1 Layer 3. The MP3 player has few faults and excellent sound quality because it stores a file in the form of digital data. Further, the MP3 player is small in size and light in weight, thereby assuring high portability such that a user can carry it even during his physical exercise. For these reasons, this product is a viable alternative to a portable cassette tape recorder and compact disk (CD) player.
With reference to
The operation of the conventional arrangement with the above-mentioned construction will now be described.
In order to legally receive a desired digital data file from the digital data server 10, the user has to register with a digital data file supplier. During user registration, the user is assigned with an ID number and password from the digital data file supplier. Then, the user downloads a digital data player 22 in software form from the digital data server 10 through a communication network and installs the downloaded digital data player 22 in the personal computer 20.
Thereafter, to download a desired digital data file from the digital data server 10 through the personal computer 20 and a communication network, the user transmits his ID number and password to the digital data server 10 through the personal computer 20 and communication network. The digital data server 10 identifies the user on the basis of the transmitted ID number and password and supplies the desired digital data file to the user in accordance with the identification. At this time, the digital data server 10 encrypts the digital data file using the user's ID number as an encryption key and transmits the encrypted digital data file to the personal computer 20.
The personal computer 20 stores the digital data file transmitted from the digital data server 10 on the hard disk 21. Then, upon receiving a reproduction request from the user, the personal computer 20 decrypts and reproduces the stored digital data file via the digital data software player 22. As a result, the user is able to listen to desired music through the personal computer 20.
On the other hand, if the user intends to listen to music in a digital data file form using the portable digital data playing device 30, then the personal computer 20 decrypts the digital data file, stored on the hard disk 21 with the digital data software player 22, and sends the decrypted digital data file to the digital data playing device 30 through a download unit 23 therein and a communication network.
Then, the digital data playing device 30 stores the digital data file, sent along the above path, in the memory 42 of the memory unit 40, which is typically in the form of a removable card. If the user requests the digital data player 30 to reproduce the digital data file stored in the memory 42, then the digital data player 30 reads the stored digital data file from the memory 42 and reproduces it through a decoder 32 therein. As a result, the user can listen to desired music anywhere using the digital data player 30.
However, the above-mentioned conventional arrangement has a disadvantage in that the digital data file may be intercepted from the communication network during downloading from the personal computer to the digital data playing device (or from the digital data playing device to the memory card) in an unencrypted condition. Such an interception of the unencrypted digital data file makes it impossible to protect the copyright of a music copyright holder and music copyright associates (for example, a music producer and planner taking charge of music production, duplication and distribution).
Therefore, the present invention has been made in view of the above problem, and it is an object of the present invention to provide an apparatus and method for encrypting a digital data file in such a manner that an unencrypted digital data file cannot be intercepted in the process of being downloaded from a personal computer to a digital data player and, in turn, from the digital data player to a memory card.
It is another object of the present invention to provide a digital data file encryption apparatus and method which are capable of encrypting an encryption key itself in such a manner that, even when the encryption key is extracted from an encrypted digital data file, the key cannot be decrypted and the digital data file cannot thus be decrypted.
In accordance with one aspect of the present invention, there is provided an encryption apparatus for decrypting an encrypted digital data file from a server, including a digital data playing device for receiving the encrypted digital data file, storing the encrypted digital data file in a data storage medium, and decrypting the stored digital data file using an encryption key, wherein the encryption key is generated on the basis of an identification number of the data storage medium or an identification number of the digital data playing device.
In accordance with another aspect of the present invention, there is provided a method for encrypting or decrypting a digital data file, including adding a first internal key to an identification number of a digital data player or an identification number of a data storage medium associated therewith, thereby generating a first encryption key; and encrypting or decrypting the digital data file based on the first encryption key.
In accordance with another aspect of the present invention, there is provided a program (or script) embodied on a computer-readable medium for encrypting or decrypting a digital data file, the computer-readable-medium-embodied program including a first program code segment to input an identification number of a digital data player or a data storage medium associated with the digital data player; a second program code segment to add a first internal key to the inputted identification number to convert the identification number into a first encryption key; and a third program code segment to encrypt or decrypt a digital data file based on the first encryption key.
In accordance with another aspect of the present invention, there is provided an electric reproducing device for decrypting content, the electric reproducing device comprising: a receiver; a decoder; an output unit; and a processor configured to control the electric reproducing device to: receive the content, through the receiver, without a source encryption key from a source device connected to the electric reproducing device, the content having been encrypted with the source encryption key in the source device, wherein the source device is configured to perform an authenticating operation with the electric reproducing device by using an identifier (ID) associated with at least one of the electric reproducing device and a storage medium of the electric reproducing device, perform a first addition operation by using a first device internal key and the ID, the first device internal key being associated with the electric reproducing device, generate a device encryption key based on an output of the first addition operation and a second device internal key by using a predetermined encryption algorithm, wherein the second device internal key is associated with the electric reproducing device, decrypt the content using the device encryption key, wherein the source encryption key is identical to the device encryption key, the source encryption key being independently generated in the source device, control the decoder to decode the decrypted content, and output the decoded content through the output unit.
In accordance with another aspect of the present invention, there is provided a method for decrypting content, the method being performed by an electric reproducing device and comprising: receiving the content without a source encryption key from a source device connected to the electric reproducing device, the content having been encrypted with the source encryption key in the source device, wherein the source device is configured to perform an authenticating operation with the electric reproducing device by using an identifier (ID) associated with at least one of the electric reproducing device and a storage medium of the electric reproducing device; performing a first addition operation by using a first device internal key and the ID, the first device internal key being associated with the electric reproducing device; generating a device encryption key based on an output of the first addition operation and a second device internal key by using a predetermined encryption algorithm, wherein the second device internal key is associated with the electric reproducing device; decrypting the content using the device encryption key, wherein the source encryption key is identical to the device encryption key, the source encryption key being independently generated in the source device; decoding the decrypted content; and outputting the decoded content.
The above and other objects, features and advantages of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
With reference to
First, the user must register with a digital data file supplier to legally receive a desired digital data file from a digital data server 110. During user registration, the user is assigned with an ID number and password (PWD) from the digital data file supplier. Then, the user downloads a digital data player 122 in a software form from the digital data server 110 through a communication network and installs the downloaded digital data player 122 in a personal computer 120. An encryption/decryptor 123 and the encryption/download unit 124, also in software form, may be downloaded and installed in the personal computer 120 at the same time as the player 122, if they have not been previously installed.
Thereafter, the user transmits his ID number and password to the digital data server 110 through the personal computer 120 and communication network to download a desired digital data file from the digital data server 110. The digital data server 110 identifies the user on the basis of the transmitted ID number and password and supplies the desired digital data file to the user in accordance with the identified result. At this time, the digital data server 110 encrypts the digital data file using the user's ID number as a first encryption key and transmits the encrypted digital data file to the personal computer 120. The personal computer 120 stores the digital data file transmitted from the digital data server 110 on a hard disk 121 therein. Then, upon receiving a reproduction request from the user, the personal computer 120 decrypts and reproduces the stored digital data file through the digital data software player 122 using the first encryption key. As a result, the user can listen to desired music through the personal computer 120.
On the other hand, when the user intends to listen to music in a digital data file form using a digital data playing device 130, the personal computer 120 reads an ID number of a removable data storage medium 140 (or of the playing device 130, or some combination thereof) through the digital data playing device 130 and an interconnecting communication network and generates a second encryption key on the basis of the read ID number. At this time, the digital data playing device 130 generates the same second encryption key using the ID number of the data storage medium 140 (or playing device 130), in a similar manner as the personal computer 120.
In the personal computer 120, an encryption/decryptor 123 decrypts the digital data file, which is stored on the hard disk 121, using the first encryption key. An encryption/download unit 124 re-encrypts the decrypted digital data file from the encryption/decryptor 123 using the second encryption key and sends the re-encrypted digital data file to the digital data playing device 130 through the communication network.
The digital data playing device 130 stores the re-encrypted digital data file downloaded from the personal computer 120 in a memory 142 of the removable data storage medium 140. If the user requests the digital data playing device 130 to reproduce the digital data file stored in the memory 142, then the digital data playing device 130 reads the stored digital data file from the memory 142 and reproduces it through a decoder 132 therein. At this time, the digital data file read from the data storage medium 140 has to be decrypted for the reproduction using the second encryption key.
To this end, in the digital data playing device 130, a microcomputer 131 decrypts the digital data file read from the data storage medium 140 using the second encryption key generated on the basis of the ID number of the data storage medium 140 and outputs the decrypted digital data file to an output line through the decoder 132.
As a result, the user can listen to desired music anywhere using the digital data playing device 130, and interception of the unencrypted digital data file can be prevented during downloading.
There may be various methods for generating the encryption key using the ID number of the data storage medium 140. For example, a 16-byte encryption key (E-K) may be generated including three bytes representing a manufacturing company name, twelve bytes representing a serial number (SN) of the data storage medium 140 and one byte arbitrarily set in the system. A similar method may be used for generating an E-K using the playing device 130. As shown in
The personal computer 1 utilizes the inputted ID number 7 of the MP3 playing device 2 or its media as a user authentication number, resulting in no need for a separate user authentication process. In order to prevent hacking (i.e., circumvention of the authentication by way of software), the personal computer 1 adds a first internal key 3 based on a convention between the two devices (or based on an initiation number associated with the personal computer 1 or the MP3 playing device 2) to the inputted ID number 7 in order to convert the inputted ID number 7 into an encryption key. In this manner, the ID number of the MP3 playing device 2 or the associated memory can be used as an encryption key. Although one first internal key is described, two or more first internal keys 3 may be used according to the convention between the two devices to make decryption more difficult.
It should be noted that a converted encryption key has conventionally been used to encrypt a digital data file. However, in the present invention, the converted encryption key itself is encrypted according to an encryption algorithm 5 applied with a second internal key 4 based on the convention between the two devices. Then the encrypted key is used to encrypt a digital data file.
Although a key encryption algorithm, not a file encryption algorithm, may be applied to encrypt the encryption key, it is preferred that the file encryption algorithm 5 be applied in consideration of low-execution capability of a microprocessor (not shown) used in the portable MP3 playing device 2. Use of the file encryption algorithm 5 results in a reduction in size of a program memory for algorithm storage and an increase in processing efficiency. Because the ID number 7 of the storage medium or playing device is added with the first internal key 3 and the resultant encryption key is encrypted according to the encryption algorithm 5 based on the second internal key 4 in the above manner, it is impossible to recognize the encryption key itself during transmission from the computer 1 to the playing device 2. A subsequent operation is performed by encryption algorithm 5 in a conventional manner to encrypt a digital data file using the encrypted encryption key and send the encrypted digital data file to the portable MP3 playing device 2.
In the same manner as the personal computer 1, the portable MP3 playing device 2 generates the same encrypted encryption key by adding the first internal key 3 to the ID number 7 of the device (or memory) and encrypting the resultant encryption key according to the encryption algorithm 5 using the second internal key 4. Then, upon receiving the encrypted digital data file from the personal computer 1, the portable MP3 player 2 decrypts the received digital data file according to a decryption algorithm 6 based on the encrypted encryption key and outputs the resultant decrypted MP3 file through a decoder 8.
As apparent from the above description, according to the present invention, both the personal computer and digital data player generate the same encryption key using an ID number 7 of the memory card (or of the MP3 player). A digital data file is encrypted on the basis of the generated encryption key in such a manner that it interception of an unencrypted data file can be prevented during downloading. In particular, the encryption key itself is encrypted. Therefore, even when the encryption key is extracted during transmission, it cannot be decrypted, and the digital data file can thus be prevented from being hacked (i.e., decoded using an illicitly obtained encryption key).
Although the preferred embodiments of the present invention have been disclosed for illustrative purposes, those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.
Number | Date | Country | Kind |
---|---|---|---|
4483/1999 | Feb 1999 | KR | national |
4493/1999 | Feb 1999 | KR | national |
This is a Continuation of pending U.S. application Ser. No. 11/979,690 filed on Nov. 7, 2007, which is a Divisional Application of U.S. application Ser. No. 09/499,633 filed on Feb. 8, 2000 (now U.S. Pat. No. 7,324,974), which claims priority under 35 U.S.C. §119(a) to Patent Application No. 4483/1999 and No. 4493/1999 filed in the Republic of Korea on Feb. 9, 1999, respectively. The entire contents of all these applications is hereby incorporated by reference in their entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 09499633 | Feb 2000 | US |
Child | 11979690 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11979690 | Nov 2007 | US |
Child | 12823016 | US |