1. A method for hiding an authentication code in an electric signal representing pixel values, wherein the pixel values are selected from the electric signal for processing on the basis of the contents of the authentication code, characterized in that the value of each pixel value selected for processing is re-determined by a filter, which uses as filter input only pixel values of the electric signal from predetermined pixels.