A data outputting method, including the steps of converting input data
into sector unit data that starts with a start code and a header preceded
by the start code, the header being composed of two bits, at least one of
which represents an encryption control; when the converted data is to be
encrypted, setting at least one of the two bits preceded by the start
code to a state that represents that the data has been encrypted;
encrypting the converted data; encoding the encrypted data; and
outputting the encoded data.