Patent ID: 7996913

Claim:
A computer-implemented method comprising: using a processor in a media player to receive data including digital content and data processing instructions packaged with the digital content, the received data being storable in a volatile memory of the media player; executing the data processing instructions from the volatile memory by using a computer language interpreter of the media player, the data processing instructions, when executed by the computer language interpreter, configuring the computer language interpreter to: interrogate a playback environment of the media player, the received data processing instructions further configured to perform a security check that interrogates the playback environment of the media player, the received data processing instructions further configured to reduce output quality if a result of the interrogation of the playback environment is uncertain; query one or more cryptographic primitives stored in a non-volatile memory of the media player, the cryptographic primitives being resident in the media player prior to receipt of the received data, the cryptographic primitives including cryptographic data and executable instructions for performing cryptographic operations, the computer language interpreter not having access to the non-volatile memory in which the cryptographic primitives are stored, the cryptographic operations including operations for decrypting the received data; and request execution of a cryptographic operation by the cryptographic primitives, the cryptographic operation including computing a cryptographic hash of at least a portion of the received data, the computer language interpreter using the cryptographic hash in playing the digital content.