A method for executing a falsification check of data transmitted from a data recording device, the data recording device comprising a processor and an A/D converter, the method comprising a first method performed by the data recording device and a second method performed by a user device,
- wherein the first method comprises:
- Step Sa 0 of preparing a public-secret key pair;
- Step Sa1 of inputting an analog signal obtained by a sensor into the A/D converter, while the A/D converter generates whole digital data consisting of signal data and noise data that are determined according to S/N ratio of the data recording device,
- wherein the signal data consists of higher-order bits that are effectively used as significant data, and the noise data consists of lower-order bits that are disregarded,
- the higher-order bits are stored in a signal area in the data recording device and the lower-order bits are stored in a noise area in the data recording device, the noise area being a data region regarded as noise and unused,
- Step Sa2 of computing a hash value using a hash function for only the signal data of the whole digital data or for the whole digital data except the hash value;
- Step Sa3 of encrypting the hash value with a secret key of the public-secret key pair;
- and
- Step Sa4 of writing the encrypted hash value into the noise area where the noise data is recorded, while the digital data including the encrypted hash value generated by performing the first method is transmitted to the user device, and
- wherein the second method comprises:
- Step Sb2 of authenticating the data received by the user device by decrypting the encrypted hash value in the data by the user device with a public key of the public-secret key pair;
- and
- Step Sb4 of determining whether the data transmitted from the data recording device has been falsified on a basis of a result in Step Sb2.