A digital camera comprising a watermark-adding device, which comprises a device for obtaining the signal values of digital signals, a bits dividing device, an altered regions initializing device, an eigenvalue calculating device, an encrypting device and a watermark embedding device. The bits dividing device divides the data recording each pixel point of the digital image, on the basis of bit, into bits for calculating the eigenvalue of the image, bits for hiding the watermark and bits for locating altered regions. The altered regions initializing device can set all the data of the bits for locating altered regions to 0 or 1. The eigenvalue calculating device can calculate the eigenvalue of digital signals. The encryption device encrypts the calculated eigenvalue. The watermark embedding device embeds the eigenvalue information in the digital signals.