player that has recorded the data. [0253] More particularly, when the player restriction is not set, a block key being a key for use to encrypt block data is generated from data including a device ID and the device ID is stored into the recording medium.