A method of generating a decipher key in a system which adds header information enabling to obtain a session key by using a decipher key assigned to a user receiving the contents, to contents ciphered with the session key and provides the ciphered-contents and the header information to the user, obtains the session key by using the header information and the decipher key assigned to the user, and deciphers the ciphered-contents by using the session key, the method comprising:
- dividing a user identification information group of users into subgroups;
- assigning the respective subgroups with different key generation polynomials;
- and
- generating a decipher key by substituting the user identification information in the key generation polynomial assigned to the subgroup to which the user identification information of the user belongs.