Patent ID: 7511636

Claim:
A data conversion unit, comprising: a first input/output unit; a second input/output unit; an encoder configured to encode data; a decoder configured to decode data; a random number generator configured to generate random number data; and a control unit configured to select a first setting function, a second setting function, and a third setting function, wherein, in the first setting function, the control unit sets to input data from the first input/output unit, to encode data by the encoder, and to output the encoded data from the second input/output unit, in the second setting function, the control unit sets to input data from the first input/output unit, to replace the data with the random number data generated by the random number generator, and to output the random number data from the second input/output unit; in the third setting function, the control unit sets to input encoded data from the second input/output unit, to decode the encoded data by the decoder, and to output the decoded data from the first input/output unit, the control unit selecting any one of the first setting function, the second setting function, and the third setting function based on a setting state set to the control unit.