A data player for reading contents encrypted by a decoding key from a
digital medium, and playing the encrypted contents by using the decoding
key which is stored in a key storage unit, comprises: a key obtaining
unit for performing mutual authentication with the key storage unit to
obtain the decoding key stored in the key storage unit; a key holding
unit for holding the decoding key; a playback state obtaining unit for
monitoring the playback state of the digital medium; and a contents
decoding unit for decoding the encrypted contents by using the decoding
key. The decoding key is obtained by the key obtaining unit and stored in
the key holding unit, and the encrypted contents read from the digital
medium is decoded with the decoding key by the contents decoding unit to
play the contents. The decoding key stored in the key holding unit is
discarded according to the playback state of the digital medium which is
obtained by the playback state obtaining unit.